clearListeners method

void clearListeners()
inherited

This function unbinds all the handlers for all the events

@return void

Implementation

void clearListeners() {
  this._events = new Map<String, List<Function>>();
  this._eventsOnce = new Map<String, List<Function>>();
}