lengthMax static method

AskValidator lengthMax(
  1. int maxLength
)

Validates that the entered line is no longer than maxLength.

Implementation

static AskValidator lengthMax(int maxLength) =>
    _AskValidatorMaxLength(maxLength);