singleWhereOrNull method
Returns the single element that satisfies test
.
Iterable.singleWhere
Implementation
MapEntry<K, V>? singleWhereOrNull(bool Function(K key, V value) test) {
return entries.singleWhereOrNull((entry) => test(entry.key, entry.value));
}