getLocation method
Maps the custom appointments location to the Appointment
.
Allows to set the custom appointments corresponding property to the
Appointment
's location property.
Note: It is applicable only when the custom appointments set to the
appointments
.
See also:
Appointment.location
, which used to store the location data of the event in the calendar.getNotes
, which maps the custom appointment'sAppointment.notes
property to theAppointment
@override
DateTime getLocation(int index) {
return appointments![index].place;
}
Implementation
String? getLocation(int index) => null;