dart how to parse string to datetime code example Example: dart convert string to datetime var dateTime = DateTime.parse("dateTimeString");