key property
final
The key of the entry.
final map = {'theKey': 'theValue'}; // Map<String, String>
var entry = map.entries.first; // MapEntry<String, String>
print(entry.key); // 'theKey'
Implementation
final K key;
The key of the entry.
final map = {'theKey': 'theValue'}; // Map<String, String>
var entry = map.entries.first; // MapEntry<String, String>
print(entry.key); // 'theKey'
final K key;