isNegative method

IsNegative isNegative()

Add IsNegative validation rule.

Implementation

IsNegative isNegative() {
  return IsNegative()..parent = this;
}