SchedulePeriodic constructor

SchedulePeriodic({
  1. ScheduleTimeOfDay? firstExecutionTimeOfDay,
  2. ScheduleTimeWindow? onlyActiveBetweenTimeFrame,
  3. double? frequencyHz,
  4. double? frequencyKHz,
  5. double? frequencyMHz,
  6. double? periodMilliseconds,
  7. double? periodSeconds,
  8. double? periodMinutes,
  9. double? periodHours,
  10. 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;
}