stop method

Future<void> stop()

Implementation

Future<void> stop() {
  removeListener();
  _isReady = false;
  _isPlaying = false;
  _isAdPlaying = false;
  _position = const Duration(seconds: 0);
  _duration = const Duration(seconds: 0);
  return _bestPlayerChannel.stop();
}