NaturalEquality<T> class

The natural and canonical equality of objects.

Inheritance
Implementers

Constructors

NaturalEquality()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hash(T a) → int
Return the hash code of a.
override
isClose(T a, T b, double epsilon) → bool
Returns true, if a and b are within range of epsilon.
override
isEqual(T a, T b) → bool
Returns true, if a and b are the same.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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