getEndTimeZone method

  1. @protected
String getEndTimeZone (
  1. int index
)

Maps the custom appointments end time zone to the Appointment.

Allows to set the custom appointments corresponding property to the Appointment's end time zone property.

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

See also: Appointment.endTimeZone.

 @override
 DateTime getEndTimeZone(int index) {
   return appointments[index].toZone;
 }

Implementation

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