time property

String time

Formats the DateTime into a time format string 'HH:mm:ss'.

Example:

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

Implementation

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