firstWhereOrNull method
Returns the first entry that satisfies test
otherwise null.
Iterable.firstWhere
Implementation
MapEntry<K, V>? firstWhereOrNull(bool Function(K key, V value) test) {
return entries.firstWhereOrNull((entry) => test(entry.key, entry.value));
}