unsubscribeEventSubscriptionRequestReceived method

void unsubscribeEventSubscriptionRequestReceived(
  1. dynamic callback(
    1. EventSubscriptionRequest
    )
)

Unsubscribes the callback from the EventSubscriptionRequestReceived-Event.

The callback needs to be exactly the same as the one used while subscribing.

Implementation

void unsubscribeEventSubscriptionRequestReceived(
    Function(EventSubscriptionRequest) callback) {
  _callbacksForEventSubscriptionRequest.remove(callback);
}