RecurrenceRule constructor
RecurrenceRule(
- RecurrenceFrequency? recurrenceFrequency,
- {int? totalOccurrences,
- int? interval,
- DateTime? endDate,
- List<
DayOfWeek> ? daysOfWeek, - int? dayOfMonth,
- MonthOfYear? monthOfYear,
- WeekNumber? weekOfMonth}
Implementation
RecurrenceRule(this.recurrenceFrequency,
{this.totalOccurrences,
this.interval,
this.endDate,
this.daysOfWeek,
this.dayOfMonth,
this.monthOfYear,
this.weekOfMonth})
: assert(!(endDate != null && totalOccurrences != null),
'Cannot specify both an end date and total occurrences for a recurring event');