number static method

TextValidator number(
  1. num minValue,
  2. num maxValue, {
  3. bool allowEmpty = false,
  4. String? message,
})

Implementation

static TextValidator number(num minValue, num maxValue, {bool allowEmpty = false, String? message}) {
  return NumValidator(minValue: minValue, maxValue: maxValue, allowEmpty: allowEmpty, message: message).call;
}