dispose method

  1. @mustCallSuper
void dispose()

Disposes resources and closes the stream controller.

Implementation

@mustCallSuper
void dispose() => _controller.close();