toHoursMinutesSeconds method

String toHoursMinutesSeconds()

Converts the duration into a readable string 05:15:35

Implementation

String toHoursMinutesSeconds() {
  String twoDigitMinutes = _toTwoDigits(inMinutes.remainder(60));
  String twoDigitSeconds = _toTwoDigits(inSeconds.remainder(60));
  return "$twoDigitMinutes:$twoDigitSeconds";
}