lengthRange static method

AskValidator lengthRange(
  1. int minLength,
  2. int maxLength
)

Validates that the length of the entered text as at least minLength but no more than maxLength.

Implementation

static AskValidator lengthRange(int minLength, int maxLength) =>
    _AskValidatorLength(minLength, maxLength);