EqualityValidation<T extends Object> class

It allows you to compare two values

Inheritance

Constructors

EqualityValidation({String? errorCode, T? equals, T? identical})
const

Properties

equals → T?
final
errorCode String?
Use a custom error string to differentiate between errors
finalinherited
hashCode int
The hash code for this object.
no setterinherited
identical → T?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(T value) Object?
override
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.
inherited