add to map in flutter code example
Example 1: flutter get key from map
String key = values.keys.elementAt(index);
Example 2: get value from map with key flutter
String value = myMap["mykey"];
String key = values.keys.elementAt(index);
String value = myMap["mykey"];