updatePendingStatus method
Implementation
void updatePendingStatus(LocationNotificationModel notification) {
for (var i = 0; i < allLocationNotifications.length; i++) {
if ((allLocationNotifications[i].key!.contains(notification.key!))) {
allLocationNotifications[i].haveResponded = true;
break;
}
}
notifyListeners();
}