LengthExtensions extension
Extension on Validator to add length validation.
- on
-
- Validator
Methods
-
length(
num exactLength, {String? errorMessage}) → Validator -
Available on Validator, provided by the LengthExtensions extension
Adds a LengthRule to the validator.