Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

How to create maps by mentioning generic in flutter

void main() {
    var words = <int, String>{
       1: "sky",
       2: "falcon",
       3: "rock",
  };
  print(words);
}
Source by zetcode.com #
 
PREVIOUS NEXT
Tagged: #How #create #maps #mentioning #generic #flutter
ADD COMMENT
Topic
Name
1+9 =