entryOrNull method
Return the MapEntry for the given key
.
For key/value pairs that don't exist, it will return null.
Implementation
// ignore: null_check_on_nullable_type_parameter
MapEntry<K, V>? entryOrNull(K key) => _m.containsKey(key) ? MapEntry(key, _m[key]!) : null;