onUnsubscription method

Hook onUnsubscription(
  1. String channel
)

Trigger onUnsubscription handlers.

Implementation

Hook onUnsubscription(String channel) {
  _handlers[HookEvent.onUnsubscription]?.forEach((handler) {
    handler(channel);
  });
  return this;
}