Combines several equalities into a single equality.
Tries each equality in order, using Equality.isValidKey, and returns the result of the first equality that applies to the argument or arguments.
equals, the first equality that matches the first argument is used,
and if the second argument of
equals is not valid for that equality,
it returns false.
Because the equalities are tried in order, they should generally work on
disjoint types. Otherwise the multi-equality may give inconsistent results
equals(e1, e2) and
equals(e2, e1). This can happen if one equality
e1 a valid key, and not
e2, but an equality which is
checked later, allows both.
- Implemented types
E e1, E e2) → bool
Compare two elements for being equal. [...]
E e) → int
Creates a combined hash code for a number of objects. [...]
Object? o) → bool
Test whether an object is a valid argument to equals and hash. [...]
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → String
A string representation of this object. [...]