isEmptyForKey method

bool isEmptyForKey(
  1. K key
)

Return true if the value set is empty or null, for the given key. Return false if there are 1 or more values, for the given key.

Implementation

bool isEmptyForKey(K key) {
  ISet<V>? values = this[key];
  return values == null || values.isEmpty;
}