subscriptionIsChanged method

bool subscriptionIsChanged(
  1. Subscription? existingSubscription,
  2. Subscription updatedSubscription
)

Implementation

bool subscriptionIsChanged(Subscription? existingSubscription, Subscription updatedSubscription) {
  return existingSubscription == null ||
      existingSubscription.objectClassName != updatedSubscription.objectClassName ||
      existingSubscription.queryString != updatedSubscription.queryString;
}