getShowTime static method

dynamic getShowTime(
  1. int seconds
)

Implementation

static getShowTime(int seconds) {
  int secondsShow = seconds % 60;
  int minutesShow = seconds ~/ 60;
  return "${twoDigits(minutesShow)}:${twoDigits(secondsShow)}";
}