getStartTimeZone method

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

Maps the custom appointments start time zone to the Appointment.

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

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

See also: Appointment.startTimeZone.

 @override
 DateTime getStartTimeZone(int index) {
   return appointments[index].fromZone;
 }

Implementation

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