update method
eventData
is added to the eventSink
Implementation
// ignore: always_declare_return_types
update({EventNotificationModel? eventData}) {
if (eventData != null) {
eventNotificationModel = eventData;
}
eventSink.add(eventNotificationModel);
}