minLength static method
Creates a MinLength validation rule.
This rule checks if a string's length is greater than or equal to min
.
It can include a custom validation message.
Implementation
static ValidationRule<String> minLength(int min, {String? message}) =>
MinLength(min, message: message);