MaxLengthValidation constructor

MaxLengthValidation(
  1. int n,
  2. String errorText
)

Implementation

MaxLengthValidation(int n, String errorText)
    : super((s) => s.length > n, errorText);