getLocation method

  1. @protected
String getLocation (
  1. int index

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.

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


String getLocation(int index) => '';