TimeOfDayRange constructor

const TimeOfDayRange({
  1. required TimeOfDay start,
  2. required TimeOfDay end,
})

Creates a time range for the given start and end TimeOfDay.

start and end must be non-null.

Implementation

const TimeOfDayRange({
  required this.start,
  required this.end,
});