notNull<T> static method
when valid
- value is not null
Implementation
static FormeValidator<T> notNull<T>({String errorText = ''}) {
return (f, T v) => v == null ? errorText : null;
}
when valid
static FormeValidator<T> notNull<T>({String errorText = ''}) {
return (f, T v) => v == null ? errorText : null;
}