indeks peta daftar panah
myList.asMap().entries.map((entry) {
int idx = entry.key;
String val = entry.value;
return something;
}
VasteMonde
myList.asMap().entries.map((entry) {
int idx = entry.key;
String val = entry.value;
return something;
}
list.asMap().entries.map((e) {
var index = e.key;
var value = e.value;
// ...
}