formatMinutesTime static method
Implementation
static String formatMinutesTime(int minutes) {
if (minutes > 0) {
int h = (minutes / 60).floor();
int m = (minutes % 60).round();
String hStr = _trimToRightPlaces("$h", 2);
String mStr = _trimToRightPlaces("$m", 2);
return "$hStr:$mStr";
} else {
return "00:00";
}
}