Eman
0
Q:

flutter get key from map

String key = values.keys.elementAt(index);
2
String value = myMap["mykey"];
1
Map<String, int> map1 = {'zero': 0, 'one': 1, 'two': 2};
Map map2 = {'zero': 0, 'I': 'one', 10: 'X'};
var map3 = {'zero': 0, 'I': 'one', 10: 'X'};
0

New to Communities?

Join the community