UnorderedIterableEquality<E> class Null safety

Equality of the elements of two iterables without considering order.

Two iterables are considered equal if they have the same number of elements, and the elements of one set can be paired with the elements of the other iterable, so that each pair are equal.

Constructors

UnorderedIterableEquality([Equality<E> elementEquality = const DefaultEquality<Never>()])
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

equals(Iterable<E>? elements1, Iterable<E>? elements2) bool
Compare two elements for being equal.
inherited
hash(Iterable<E>? elements) int
Creates a combined hash code for a number of objects.
inherited
isValidKey(Object? o) bool
Test whether an object is a valid argument to equals and hash.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited