valueRange static method

AskValidator valueRange(
  1. num minValue,
  2. num maxValue
)

Validates that a number is between a minimum value (inclusive) and a maximum value (inclusive).

Implementation

static AskValidator valueRange(num minValue, num maxValue) =>
    _AskValidatorValueRange(minValue, maxValue);