parse static method

DateTime? parse(
  1. String formattedString
)

Implementation

static DateTime? parse(String formattedString) {
  return DateTime.tryParse(formattedString);
}