updatePendingStatus method
Updates the pending status of a location notification
Implementation
void updatePendingStatus(LocationNotificationModel notification) {
for (var i = 0; i < allLocationNotifications.length; i++) {
if ((allLocationNotifications[i]
.locationNotificationModel!
.key!
.contains(notification.key!))) {
allLocationNotifications[i].haveResponded = true;
break;
}
}
notifyListeners();
}