get index of element in map dart

104

myList.asMap().entries.map((entry) {
    int idx = entry.key;
    String val = entry.value;

    return something;
}

Comments

Submit
0 Comments