getStartTimeZone method

String? getStartTimeZone(
  1. int index
)
inherited

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, which sets the time zone for the start time of the appointment.
  • getEndTime, which used to map the custom appointment's Appointment.endTime property to the Appointment.
  • SfCalendar.timeZone, to set the timezone for the calendar.
  • The documentation for time zone
 @override
 DateTime getStartTimeZone(int index) {
   return appointments![index].fromZone;
 }

Implementation

String? getStartTimeZone(int index) => null;