MinLength constructor
Creates a new instance of the MinLength validation rule.
- min: The minimum required length for the string (required).
message
: A custom validation message (optional) to be displayed when the validation fails.
Implementation
MinLength(this.min, {String? message}) : super(message);