NotEmptyExtensions extension

Extension on Validator to add a not empty rule.

on
  • Validator

Methods

notEmpty({String? errorMessage}) → Validator

Available on Validator, provided by the NotEmptyExtensions extension

Adds a NotEmptyRule to the validator.