updatePendingStatus method
updates haveResponded
property for notificationModel
.
Implementation
void updatePendingStatus(EventNotificationModel notificationModel) async {
for (var i = 0; i < allEventNotifications.length; i++) {
if (allEventNotifications[i]
.eventNotificationModel!
.key!
.contains(notificationModel.key!)) {
allEventNotifications[i].haveResponded = true;
}
}
}