maxLength method

DashValidator maxLength({
  1. required String errorMessage,
  2. required int length,
})

Implementation

DashValidator maxLength({
  required String errorMessage,
  required int length,
}) {
  _validators.add(
    MaxLengthDashValidation(errorMessage: errorMessage, maxLength: length),
  );

  return this;
}