unsubscribeEventSubscriptionResponseReceived method

void unsubscribeEventSubscriptionResponseReceived(
  1. dynamic callback(
    1. EventSubscriptionResponse
    )
)

Unsubscribes the callback from the EventSubscriptionResponseReceived-Event.

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

Implementation

void unsubscribeEventSubscriptionResponseReceived(
    Function(EventSubscriptionResponse) callback) {
  _callbacksForEventSubscriptionResponse.remove(callback);
}