dispose method

void dispose()

Close the stream

Implementation

void dispose() {
  _isDisposed = true;
  // TODO(): Perhaps we should do something with the return result here?
  //ignore: avoid-ignoring-return-values
  _streamController.close();
}