how to get index of list map flutter code example
Example: get index of element in map dart
myList.asMap().entries.map((entry) {
int idx = entry.key;
String val = entry.value;
return something;
}
myList.asMap().entries.map((entry) {
int idx = entry.key;
String val = entry.value;
return something;
}