dispose method
Implementation
Future<void> dispose() async {
await _bufferingController.close();
await _playingController.close();
await _positionController.close();
await _durationController.close();
await _errorController.close();
await _initializedController.close();
if (!_isDisposed) {
await _player.dispose();
_isDisposed = true;
}
}