timeOfDayToJM method
You can call several useful methods through the FabexFormatter Class
Implementation
String timeOfDayToJM(TimeOfDay tod) {
/// Convert TimeOfDay to time
/// Example: ```TimeOfDay(22, 30)``` returns ```10:30 PM```
final now = new DateTime.now();
final dt = DateTime(now.year, now.month, now.day, tod.hour, tod.minute);
final format = DateFormat.jm(); ///"6:00 AM"
return format.format(dt);
}