SchedulePeriodic constructor
SchedulePeriodic({
- ScheduleTimeOfDay? firstExecutionTimeOfDay,
- ScheduleTimeWindow? onlyActiveBetweenTimeFrame,
- double? frequencyHz,
- double? frequencyKHz,
- double? frequencyMHz,
- double? periodMilliseconds,
- double? periodSeconds,
- double? periodMinutes,
- double? periodHours,
- double? periodDays,
Implementation
factory SchedulePeriodic({
ScheduleTimeOfDay? firstExecutionTimeOfDay,
ScheduleTimeWindow? onlyActiveBetweenTimeFrame,
$core.double? frequencyHz,
$core.double? frequencyKHz,
$core.double? frequencyMHz,
$core.double? periodMilliseconds,
$core.double? periodSeconds,
$core.double? periodMinutes,
$core.double? periodHours,
$core.double? periodDays,
}) {
final $result = create();
if (firstExecutionTimeOfDay != null) {
$result.firstExecutionTimeOfDay = firstExecutionTimeOfDay;
}
if (onlyActiveBetweenTimeFrame != null) {
$result.onlyActiveBetweenTimeFrame = onlyActiveBetweenTimeFrame;
}
if (frequencyHz != null) {
$result.frequencyHz = frequencyHz;
}
if (frequencyKHz != null) {
$result.frequencyKHz = frequencyKHz;
}
if (frequencyMHz != null) {
$result.frequencyMHz = frequencyMHz;
}
if (periodMilliseconds != null) {
$result.periodMilliseconds = periodMilliseconds;
}
if (periodSeconds != null) {
$result.periodSeconds = periodSeconds;
}
if (periodMinutes != null) {
$result.periodMinutes = periodMinutes;
}
if (periodHours != null) {
$result.periodHours = periodHours;
}
if (periodDays != null) {
$result.periodDays = periodDays;
}
return $result;
}