ScheduleTimeWindow constructor

ScheduleTimeWindow({
  1. ScheduleTimeOfDay? startTimeOfDay,
  2. ScheduleTimeOfDay? stopTimeOfDay,
})

Implementation

factory ScheduleTimeWindow({
  ScheduleTimeOfDay? startTimeOfDay,
  ScheduleTimeOfDay? stopTimeOfDay,
}) {
  final $result = create();
  if (startTimeOfDay != null) {
    $result.startTimeOfDay = startTimeOfDay;
  }
  if (stopTimeOfDay != null) {
    $result.stopTimeOfDay = stopTimeOfDay;
  }
  return $result;
}