isValidKey method

bool isValidKey (Object o)
override

Test whether an object is a valid argument to equals and hash.

Some implementations may be restricted to only work on specific types of objects.

Implementation

bool isValidKey(Object o) {
  for (Equality<E> eq in _equalities) {
    if (eq.isValidKey(o)) return true;
  }
  return false;
}