between static method
Creates a Between validation rule.
This rule checks if a string's length is between min
and max
(inclusive).
It can include a custom validation message.
Implementation
static ValidationRule<String> between(
{required num min, required num max, String? message}) =>
Between(min, max, message: message);