key property
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
@override
K get key => $value.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'
@override
K get key => $value.key;