notEmpty

StringValidator notEmpty()

Must not be empty

Implementation

StringValidator notEmpty() => _addCheck(
      (v) => v.isEmpty ? 'must not be empty' : '',
    );