negativeOrZero top-level constant
Range
const negativeOrZero
A FieldValidator that restricts a numeric type to be negative or zero.
Implementation
const negativeOrZero = Range(max: 0, maxExclusive: false);