how to access key in map dart code example Example: flutter get key from map String key = values.keys.elementAt(index);