PositiveNumberValidator class
- Inheritance
-
- Object
- IValidator<
num> - PositiveNumberValidator
Constructors
- PositiveNumberValidator({String error = "Value must be positive"})
Properties
Methods
-
call(
num? input) → String? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
num? value) → String? -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited