betweenValue static method
Create a BetweenValue validation rule.
This rule checks if a numeric value is between min and max (inclusive).
/// It can include a custom validation message.
Implementation
static ValidationRule<String> betweenValue(
{required num min, required num max, String? message}) =>
BetweenValue(min, max, message: message);