MinValueRule class
Ensures that given num value is greater or equal than given min.
If the value is not a num the rule will attempt to parse the value. If it fails ValidationError will be returned. Consider using IsNumberRule to provide more gradual error messages.
- Inheritance
-
- Object
- SuperFormFieldRule
- MinValueRule
Constructors
- MinValueRule(num min, 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 value) → ValidationError? -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited