Schedule constructor

Schedule({
  1. Iterable<SchedulePeriodic>? periodic,
  2. Iterable<ScheduleExactTime>? timed,
})

Implementation

factory Schedule({
  $core.Iterable<SchedulePeriodic>? periodic,
  $core.Iterable<ScheduleExactTime>? timed,
}) {
  final $result = create();
  if (periodic != null) {
    $result.periodic.addAll(periodic);
  }
  if (timed != null) {
    $result.timed.addAll(timed);
  }
  return $result;
}