off method

dynamic off(
  1. dynamic eventName,
  2. dynamic func
)

Stops event observing for a particular event handler. Calling this method without arguments removes all handlers for all events void Function(IEvent e) handler

Implementation

external off(dynamic eventName, dynamic func);