dispose method

void dispose()

Closes the stream and resets the singleton instance.

Implementation

void dispose() {
  _controller.close();
  // _instance = null;
}