length static method
Implementation
static TextValidator length(int minLength, int maxLength, {bool allowEmpty = false, bool trim = false, String? message}) {
return LengthValidator(minLength: minLength, maxLength: maxLength, allowEmpty: allowEmpty, trim: trim, message: message).call;
}