IsEqualRule<T> class
Ensures that value is equal to given value.
Note that if you are going to use it with classes you may want to make sure to implement == operator.
- Inheritance
-
- Object
- SuperFormFieldRule
- IsEqualRule
Constructors
- IsEqualRule(T value, String message)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
validate(
dynamic valueToValidate) → ValidationError? -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited