getSubject method

  1. @protected
String getSubject (
  1. int index

Maps the custom appointments subject to the Appointment.

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

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

See also: Appointment.subject

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


String getSubject(int index) => '';