Comparer<T> mixin
A base class to facilitate operator ==
, hashCode
and .toString()
overrides.
- Mixin Applications
Properties
- equals → T
-
Comparison objects
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareLists<
R> (List< R> ? list1, List<R> ? list2) → bool -
Determines whether
list1
andlist2
are equal. -
genHash<
R> (Iterable< R> ? values) → int -
Returns a
hashCode
for equals. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override