update method
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();
}