dispose method

void dispose()

Call dispose when you are done with the object. this will release the underlying stream.

Implementation

void dispose() {
  _queue.cancel();
  _transformer?.dispose();
}