update method

void update(
  1. CalendarEventData<T> event,
  2. CalendarEventData<T> updated
)

Updates the event to have the data from updated event.

If event is not found in the controller, it will add the updated event in the controller.

Implementation

void update(CalendarEventData<T> event, CalendarEventData<T> updated) {
  _calendarData.updateEvent(event, updated);
  notifyListeners();
}