removeAllListeners method

void removeAllListeners()

Unregisters all listeners.

Implementation

void removeAllListeners() => _listeners = null;