Schedule constructor
Schedule({
- Iterable<
SchedulePeriodic> ? periodic, - 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;
}