notNull static method
Implementation
static FormFieldValidator<num> notNull([String? message]) {
return (value) {
if (value == null) {
return message ?? 'Value must not be null';
}
return null;
};
}
static FormFieldValidator<num> notNull([String? message]) {
return (value) {
if (value == null) {
return message ?? 'Value must not be null';
}
return null;
};
}