call method
call is a special function that makes a class callable returns null if the input is valid otherwise it returns the provided error validationError
Implementation
@override
String? call(dynamic value) {
return check(value) ? null : _validationError;
}