hm property

String get hm

Formats the DateTime into 'HH:mm' format.

Example:

print(DateTime.now().hm); // Output: "12:00"

Implementation

String get hm => DateFormats.hm.format(this);