entryOrNullValue method

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

Return the key/value entry for the given key. If the key is not in the map, return MapEntry(key, null).

Implementation

@override
MapEntry<K, V?> entryOrNullValue(K key) => MapEntry(key, _map[key]);