onEventModelTap method
Implementation
onEventModelTap(
EventNotificationModel eventNotificationModel, bool haveResponded) {
if (isActionRequired(eventNotificationModel) &&
!eventNotificationModel.isCancelled!) {
if (haveResponded) {
return null;
}
return showDialog<void>(
context: AtEventNotificationListener().navKey!.currentContext!,
barrierDismissible: true,
builder: (BuildContext context) {
return EventNotificationDialog(eventData: eventNotificationModel);
},
);
}
eventNotificationModel.isUpdate = true;
/// Move to map screen
EventsMapScreenData().moveToEventScreen(eventNotificationModel);
}