trimmedNotEmpty<E> static method
Validates that the trimmed string is not empty.
StringRules.trimmedNotEmpty(error: 'Field cannot be blank')
Implementation
static Rule<String, E> trimmedNotEmpty<E>({required E error}) =>
PredicateRule(
predicate: (value) => value.trim().isNotEmpty,
error: error,
);