clear method

void clear()

Clears all event listeners

Implementation

void clear() {
  _eventEmitter.clear();
}