lastWhereOrNull method

MapEntry<K, V>? lastWhereOrNull(
  1. bool test(
    1. K key,
    2. V value
    )
)

Returns the last entry that satisfies test otherwise null. Iterable.lastWhere

Implementation

MapEntry<K, V>? lastWhereOrNull(bool Function(K key, V value) test) {
  return entries.lastWhereOrNull((entry) => test(entry.key, entry.value));
}