format12h method
Formats the time using the 12-hour clock with AM/PM (e.g., "01:52 PM").
TimeFormat.hhmma provides the pattern 'hh:mm a'.
Implementation
String format12h() => format(TimeFormat.hhmma);
Formats the time using the 12-hour clock with AM/PM (e.g., "01:52 PM").
TimeFormat.hhmma provides the pattern 'hh:mm a'.
String format12h() => format(TimeFormat.hhmma);