Validator<S>.maxLength constructor

const Validator<S>.maxLength(
  1. int value
)

Validates maximum length for strings/iterables.

Implementation

const factory Validator.maxLength(int value) = MaxLengthValidator<S>;