isNonNegative method

IsNonNegative isNonNegative()

Add IsNonNegative validation rule.

Implementation

IsNonNegative isNonNegative() {
  return IsNonNegative()..parent = this;
}