unsubscribeUserMessageReceived method
Unsubscribes the callback from the UserMessageReceived-Event.
The callback
needs to be exactly the same as the one used while
subscribing.
Implementation
void unsubscribeUserMessageReceived(Function(UserMessage) callback) {
_callbacksForUserMessage.remove(callback);
}