flutter map get value's index 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;
}