between method

B between(
  1. num min,
  2. num max, {
  3. String? message,
})

Validate that the number is within the specified range.

Implementation

B between(num min, num max, {String? message}) => add(isInRange(min, max), message: message);