setEventUnsubscribeHandler abstract method

void setEventUnsubscribeHandler(
  1. String name,
  2. EventSubscriptionHandler handler
)

Assigns a handler function to an event with a given name.

If the event is unsubscribed, the handler function will be called to handle the interaction.

Implementation

void setEventUnsubscribeHandler(
  String name,
  EventSubscriptionHandler handler,
);