NotRule constructor Null safety

NotRule(
  1. IValidationRule? rule
)

Creates a new validation rule and sets its values

  • rule a rule to be negated.