toTimeOfDay method

TimeOfDay toTimeOfDay()

Get TimeOfDay instance from Time

Implementation

TimeOfDay toTimeOfDay() {
  return TimeOfDay(hour: hour, minute: minute);
}