getEndTimeZone method
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, which sets the time zone for the end time of the appointment.
- getStartTime, which used to map the custom appointment's Appointment.startTime property to the Appointment.
- SfCalendar.timeZone, to set the timezone for the calendar.
- The documentation for time zone
@override
DateTime getEndTimeZone(int index) {
return appointments![index].toZone;
}
Implementation
String? getEndTimeZone(int index) => null;