parseDateTime function

DateTime? parseDateTime(
  1. String? dateTimeString
)

Implementation

DateTime? parseDateTime(String? dateTimeString) {
  if (dateTimeString == null) return null;
  return DateTime.tryParse(dateTimeString);
}