isIso8601DateString top-level property
Ensures that a string is an ISO-8601 date string.
Implementation
final Matcher isIso8601DateString = predicate(
(dynamic x) {
try {
return x is String;
} catch (_) {
return false;
}
},
'a valid ISO-8601 date string.',
);