dispose method

void dispose()

Implementation

void dispose() {
  _currentStream?.cancel();
  _currentStream = null;
}