getRecurrenceRule method

  1. @protected
String getRecurrenceRule (
  1. int index
)

Maps the custom appointments recurrence rule to the Appointment.

Allows to set the custom appointments corresponding property to the Appointment's recurrence rule property.

Note: It is applicable only when the custom appointments set to the appointments.

See also: Appointment.recurrenceRule.

 @override
 DateTime getRecurrenceRule(int index) {
   return appointments[index].recurrenceRule;
 }

Implementation

@protected
String getRecurrenceRule(int index) => '';