parseMinute2TimeOfDay static method

TimeOfDay parseMinute2TimeOfDay(
  1. int time
)

Implementation

static TimeOfDay parseMinute2TimeOfDay(int time) {
  return TimeOfDay(
    hour: time ~/ 60,
    minute: time % 60,
  );
}