toHoursMinutes method
Converts the duration into a readable string 05:15
Implementation
String toHoursMinutes() {
String twoDigitMinutes = _toTwoDigits(inMinutes.remainder(60));
return "${_toTwoDigits(inHours)}:$twoDigitMinutes";
}
Converts the duration into a readable string 05:15
String toHoursMinutes() {
String twoDigitMinutes = _toTwoDigits(inMinutes.remainder(60));
return "${_toTwoDigits(inHours)}:$twoDigitMinutes";
}