equals static method
when valid:
- value is null
- value == given value
Implementation
static FormeValidator equals(dynamic value, {String errorText = ''}) {
return (f, dynamic v) => value == null || v == value ? null : errorText;
}
when valid:
static FormeValidator equals(dynamic value, {String errorText = ''}) {
return (f, dynamic v) => value == null || v == value ? null : errorText;
}