unsubscribeConsumingFailed method
Unsubscribes the callback from the ConsumingFailed-Event.
The callback
needs to be exactly the same as the one used while
subscribing.
Implementation
void unsubscribeConsumingFailed(Function(String, Exception) callback) {
_callbacksConsumingFailed.remove(callback);
}