unsubscribeServiceReplyReceived method

void unsubscribeServiceReplyReceived(
  1. dynamic callback(
    1. ServiceReply
    )
)

Unsubscribes the callback from the ServiceReplyReceived-Event.

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

Implementation

void unsubscribeServiceReplyReceived(Function(ServiceReply) callback) {
  _callbacksForServiceReply.remove(callback);
}