entryOrNullValue method
Return the key/value entry for the given key
.
If the key
is not in the map, return MapEntry(key, null)
.
Implementation
MapEntry<K, V?> entryOrNullValue(K key) => MapEntry(key, _map[key]);
Return the key/value entry for the given key
.
If the key
is not in the map, return MapEntry(key, null)
.
MapEntry<K, V?> entryOrNullValue(K key) => MapEntry(key, _map[key]);