isDateTime property
bool
get
isDateTime
Checks if string is DateTime (UTC or Iso8601).
Implementation
bool get isDateTime => matchesRegex(r'^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}.\d{3}Z?$');
Checks if string is DateTime (UTC or Iso8601).
bool get isDateTime => matchesRegex(r'^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}.\d{3}Z?$');