CronSchedule constructor
CronSchedule({})
Implementation
factory CronSchedule({
$fixnum.Int64? second,
$fixnum.Int64? minute,
$fixnum.Int64? hour,
$fixnum.Int64? dayOfMonth,
$fixnum.Int64? month,
$fixnum.Int64? dayOfWeek,
$0.Timestamp? validFrom,
$0.Timestamp? validTo,
}) {
final _result = create();
if (second != null) {
_result.second = second;
}
if (minute != null) {
_result.minute = minute;
}
if (hour != null) {
_result.hour = hour;
}
if (dayOfMonth != null) {
_result.dayOfMonth = dayOfMonth;
}
if (month != null) {
_result.month = month;
}
if (dayOfWeek != null) {
_result.dayOfWeek = dayOfWeek;
}
if (validFrom != null) {
_result.validFrom = validFrom;
}
if (validTo != null) {
_result.validTo = validTo;
}
return _result;
}