Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

add all items to a list in dart

   List items = [1,2,3]; 
   List newItems = [4,5,6];
   items.addAll(newItems); 
   print(items); //prints [1,2,3,4,5,6];
Source by api.flutter.dev #
 
PREVIOUS NEXT
Tagged: #add #items #list #dart
ADD COMMENT
Topic
Name
6+4 =