none method

bool none([
  1. bool test(
    1. MapEntry<K, V> entry
    )?
])

Returns true if the map has no entries.

If test is provided it returns true if no entries match the given test.

Implementation

bool none([bool Function(MapEntry<K, V> entry)? test]) => entries.none(test);