removeAllListeners static method

void removeAllListeners()

Remove all event listeners

Implementation

static void removeAllListeners() {
  _listeners = {};
}