EventRecurrence constructor

EventRecurrence({
  1. required EventFrequency? frequency,
  2. int? occurrences,
  3. DateTime? endDate,
  4. int interval = 1,
  5. 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");