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.

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

Implementation

@protected
String getLocation(int index) => '';