EventRecurrence constructor
EventRecurrence({
- required EventFrequency? frequency,
- int? occurrences,
- DateTime? endDate,
- int interval = 1,
- String? rRule,
Implementation
EventRecurrence({
required this.frequency,
this.occurrences,
this.endDate,
this.interval = 1,
this.rRule,
}) : assert(occurrences == null || endDate == null,
"Specify either occurrences or endDate");