dispose method

void dispose()

Disposes the Provider, after that, it cannot be used.

Implementation

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