Equal class Null safety

Equality rule — checks whether A == B.

Constructors

Equal(Object? to(), {String? diff})
Validates the equality between two values. [...]
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

call(Object? value) String?
Valid - returns null - if value is equal to the given reference value. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
to(String? value) String?
Forwards to call method.
toString() String
A string representation of this object. [...]
inherited

Operators

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