stop method

void stop()

Implementation

void stop() {
  _currentPlayer?.pause();
  _currentPlayer?.dispose();
  _currentPlayer = null;
}