updatePendingStatus method

void updatePendingStatus(
  1. EventNotificationModel notificationModel
)

Implementation

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