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