disposePlayer method

dynamic disposePlayer()

Implementation

disposePlayer() {
  _channel.dispose();
  _durationstream.close();
  _positionstream.close();
  _bufferstream.close();
  _qualityStream.close();
  _playbackSpeedStream.close();
  eventStreamSubScription?.cancel();
  _playbackDurationstreamSubscription?.cancel();
}