FirstWhereOrNullOnMapExtension<K, V> extension

on

Methods

firstWhereOrNull(bool test(MapEntry<K, V>)) MapEntry<K, V>?

Available on Map<K, V>, provided by the FirstWhereOrNullOnMapExtension extension

Returns the first entry that satisfies the given predicate test, or null if there are none.