none method Null safety

bool none(
  1. EntryPredicate<K, V> test
)

Returns true if no entries match the given predicate test.

Also returns true if the receiver is null or empty.

Implementation

bool none(EntryPredicate<K, V> test) =>
    this?.entries.none((e) => test(e.key, e.value)) ?? true;