getRecurrenceExceptionDates method Null safety

List<DateTime>? getRecurrenceExceptionDates(
  1. int index
)

Maps the custom appointments recurrenceExceptionDates to the Appointment

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

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

See also: Appointment.recurrenceExceptionDates.

 @override
 DateTime getRecurrenceExceptionDates(int index) {
   return appointments[index].exceptionDates;
 }

Implementation

List<DateTime>? getRecurrenceExceptionDates(int index) => null;