getRecurrenceId method

Object? getRecurrenceId(
  1. int index
)
inherited

Maps the custom appointments recurrence id to the Appointment.

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

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

See also:

  • Appointment.recurrenceId, which used to handle the changed or exception occurrence appointments in calendar.
  • getId, which used to map the custom appointment's Appointment.id property of the Appointment.
 @override
 DateTime getRecurrenceId(int index) {
   return appointments[index].recurrenceId;
 }

Implementation

Object? getRecurrenceId(int index) => null;