positive top-level constant

Range const positive

A FieldValidator that restricts a numeric type to be positive.

Implementation

const positive = Range(min: 0, minExclusive: true);