dispose static method

dynamic dispose()

Allows for the stream to be closed

Implementation

static dispose() {
  streamController.close();
}