isAllDay method Null safety

bool isAllDay(
  1. int index

Maps the custom appointments isAllDay to the Appointment.

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

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

See also: Appointment.isAllDay

 DateTime isAllDay(int index) {
   return appointments[index].isAllDay;


bool isAllDay(int index) => false;