Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

list from or list of dart

List<String> foo = new List.from(<int>[1, 2, 3]); // okay until runtime.
List<String> bar = new List.of(<int>[1, 2, 3]); // analysis error
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #list #dart
ADD COMMENT
Topic
Name
7+4 =