negative top-level constant

Range const negative

A FieldValidator that restricts a numeric type to be negative.

Implementation

const negative = Range(max: 0, maxExclusive: true);