Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

remove item form list by index dart

List myList = [1,2,3,4,5];
bool result = myList.remove(2);
print(myList);  // [1, 3, 4, 5]
print(result);  // true
print(myList.length);  // 4
 
PREVIOUS NEXT
Tagged: #remove #item #form #list #index #dart
ADD COMMENT
Topic
Name
6+9 =