Hapus Daftar Formulir Item dengan Indeks Dart
List myList = [1,2,3,4,5];
myList.removeAt(2);
CodePadding
List myList = [1,2,3,4,5];
myList.removeAt(2);
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