toString method

  1. @override
String toString()
override

Output as ISO 8601 extended time format with seconds accuracy, omitting the 24th hour and 60th leap second. E.g., "09:30:00".

Implementation

@override
String toString() =>
    '${_twoDigits(hour)}:${_twoDigits(minute)}:${_twoDigits(second)}';