hms property

String get hms

Formats the DateTime into 'HH:mm:ss' format.

Example:

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

Implementation

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