notEqual<T> static method
FormFieldValidator that requires the field's value be not equal to the provided value.
Parameters:
value
The value to compare with.errorText
The error message when the value is equal.checkNullOrEmpty
Whether to check for null or empty values.
Implementation
static FormFieldValidator<T> notEqual<T>(
Object value, {
String? errorText,
bool checkNullOrEmpty = true,
}) => NotEqualValidator<T>(
value,
errorText: errorText,
checkNullOrEmpty: checkNullOrEmpty,
).validate;