Flutter – Convert String to TimeOfDay issue
I'm getting the issue when converting string to TimeOfday. It was working before but now I am getting the issue. try { final format = DateFormat.jm(); //"6:00 AM" TimeOfDay day = TimeOfDay.fromDateTime(format.parse("6:00")); } catch(ex) { PLPrint(name: "CheckTest",value: "${ex.toString()}"); } I…