CronSpec constructor
CronSpec({
- String? cronString,
- Iterable<
CronSchedule> ? schedules,
Implementation
factory CronSpec({
$core.String? cronString,
$core.Iterable<CronSchedule>? schedules,
}) {
final _result = create();
if (cronString != null) {
_result.cronString = cronString;
}
if (schedules != null) {
_result.schedules.addAll(schedules);
}
return _result;
}