Recurrence constructor

const Recurrence(
  1. RecurrenceFrequency frequency, {
  2. DateTime? until,
  3. int? count,
  4. int? interval,
  5. List<int>? bySecond,
  6. List<int>? byMinute,
  7. List<int>? byHour,
  8. List<ByDayRule>? byWeekDay,
  9. List<int>? byYearDay,
  10. List<int>? byWeek,
  11. List<int>? byMonth,
  12. List<int>? byMonthDay,
  13. int? startOfWorkWeek,
  14. List<int>? bySetPos,
})

Creates a new Recurrence rule with the specified frequency and other optional settings.

Implementation

const Recurrence(
  this.frequency, {
  this.until,
  this.count,
  int? interval,
  this.bySecond,
  this.byMinute,
  this.byHour,
  this.byWeekDay,
  this.byYearDay,
  this.byWeek,
  this.byMonth,
  this.byMonthDay,
  int? startOfWorkWeek,
  this.bySetPos,
})  : _interval = interval,
      _startOfWorkWeek = startOfWorkWeek;