timeAndSeconds property
String
get
timeAndSeconds
Returns a string representation of the time and seconds.
Format: 'HH:mm:s ms'
Implementation
String get timeAndSeconds {
final d = date;
final minutesPadded = '${d.minute}'.padLeft(2, '0');
final secondsPadded = '${d.second}'.padLeft(2, '0');
return '${d.hour}:$minutesPadded:$secondsPadded ${d.millisecond}ms';
}