positiveOrZero top-level constant

Range const positiveOrZero

A FieldValidator that restricts a numeric type to be positive or zero.

Implementation

const positiveOrZero = Range(min: 0, minExclusive: false);