everyKey method

bool everyKey(
  1. bool predicate(
    1. K key
    )
)

Checks whether every key of this map satisfies the given predicate.

Returns false if any key makes predicate return false, otherwise returns true.

Implementation

bool everyKey(bool Function(K key) predicate) => _map.keys.every(predicate);