discontinuedPackage callor has been discontinued and replaced by formdator.

Equal class

Equality rule - checks whether A == B.

Constructors

Equal(Object? to(), {String diff = 'cannot be different'})
Validates the equality between two values.
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

call(Object? value) → String?
Valid - returns null - if value is equal.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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