call method
Validates the given value.
Implementation
@override
bool call(String? fieldName, Object? value) {
super.call(fieldName, value);
this.fieldName = fieldName;
if (value == null) return true;
if (value is! String) return false;
final date = DateTime.tryParse(value);
return date != null;
}