MaxLengthValidator class
Validator that validates that the length of the control's value doesn't exceed the maximum allowed limit.
Constructors
- MaxLengthValidator(int maxLength)
-
Constructs a MaxLengthValidator.
const
Properties
Methods
-
call(
AbstractControl control) → Map< String, dynamic> ? -
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(
AbstractControl control) → Map< String, dynamic> ? -
Validates the
control
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited