entryOrNullValue method

MapEntry<K, V?> entryOrNullValue(
  1. K key
)

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]);