IntValidator

Inheritance

Constructors

IntValidator([String _fieldName = 'value'])

Properties

hashCode int
The hash code for this object.
no setterinherited

runtimeType Type

A representation of the runtime type of the object.
no setterinherited

Methods

and(Validator<int> other) Validator<int>
Chain validators
inherited

map<R>(R transform(int)) Validator<R>

Transform the validated value
inherited

max(int max) IntValidator

Maximum value

min(int min) IntValidator

Minimum value

noSuchMethod(Invocation invocation) → dynamic

Invoked when a nonexistent method or property is accessed.
inherited

positive() IntValidator

Must be positive

range(int min, int max) IntValidator

Must be in range

toString() String

A string representation of this object.
inherited

validate(dynamic value) ValidationResult<int>

override

Operators

operator ==(Object other) bool
The equality operator.
inherited