checkIfEventIsRejected method

bool checkIfEventIsRejected(
  1. LocationNotificationModel locationNotificationModel
)

checks if logged in user's already shared location with atsign is rejected.

Implementation

bool checkIfEventIsRejected(
    LocationNotificationModel locationNotificationModel) {
  if ((!locationNotificationModel.isAccepted) &&
      (locationNotificationModel.isExited)) {
    return true;
  }

  return false;
}