Validator<S>.maxLength constructor
const
Validator<S>.maxLength (
- int value
Validates maximum length for strings/iterables.
Implementation
const factory Validator.maxLength(int value) = MaxLengthValidator<S>;