dispose method

void dispose()

Implementation

void dispose() {
  logger.debug('(AudioPlayer) Disposing');
  _currentPlayer?.dispose();
  _currentPlayer = null;
}