📜  获取地图飞镖代码示例中元素的索引

📅  最后修改于: 2022-03-11 14:48:03.629000             🧑  作者: Mango

代码示例1
myList.asMap().entries.map((entry) {
    int idx = entry.key;
    String val = entry.value;

    return something;
}