toTime method

String toTime()

Implementation

String toTime() {
  final int minutes = this ~/ 60;
  final int seconds = this % 60;
  return '$minutes:${seconds < 10 ? '0$seconds' : seconds}';
}