IsFalseValidator class
Checks if provided value is false
- Inheritance
-
- Object
- FieldValidator<
bool> - EqualToValidator<
bool> - IsFalseValidator
Constructors
- IsFalseValidator({String? fieldName, String message = 'should be equal to false'})
-
const
- IsFalseValidator.withMessage(String message)
-
const
Properties
- equalTo → bool?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreNullable → bool
-
If validation can be invoked on
null
values.finalinherited - message → String
-
Validation error message.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
bool? value) → String? -
Invoke validation
inherited
-
isValid(
bool? value) → bool -
Validation function
inherited
-
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