getId method
Maps the custom appointments id to the Appointment.
Allows to set the custom appointments corresponding property to the Appointment's id property.
Note: It is applicable only when the custom appointments set to the appointments.
See also:
- Appointment.id, which holds an unique identification number for the appointment in the calendar.
- getRecurrenceRule, which used to map the custom appointment's Appointment.recurrenceRule property to the Appointment.
@override
DateTime getId(int index) {
return appointments[index].id;
}
Implementation
Object? getId(int index) => null;