isNonNegative method
Add IsNonNegative validation rule.
Implementation
IsNonNegative isNonNegative() {
return IsNonNegative()..parent = this;
}
Add IsNonNegative validation rule.
IsNonNegative isNonNegative() {
return IsNonNegative()..parent = this;
}