maxLength method

FormValidator maxLength(
  1. int value
)

Validate that the value is a maximum of value characters

Implementation

FormValidator maxLength(int value) {
  _addRule("max:$value");
  return this;
}