removeAll method

void removeAll()

Removes all listeners from the signal.

Implementation

void removeAll() {
  _listeners.clear();
  _listenersOnce.clear();
}