formatHrMin12 property

String get formatHrMin12

Returns a string representation of this date with the format HH:mm in 12 hour format.

Example: DateTime.now().formatHrMin12 -> 12:34 PM.

Implementation

String get formatHrMin12 => format('HH:mm a');