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