dispose method

void dispose()

Removes all listeners from the connectivity monitor.

Implementation

void dispose() {
  _listeners.clear();
}