MinLengthExtensions extension

Extension on Validator to add a minimum length validation rule.

on
  • Validator

Methods

minLength(int minLength, {String? errorMessage}) → Validator

Available on Validator, provided by the MinLengthExtensions extension

Adds a MinLengthRule to the validator.