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