stop method
Implementation
@override
Future<void> stop() async {
try {
await _platformChannel.invokeDispose(viewId: _viewId);
_updateState(PlayerState.stopped);
_currentUrl = null;
_clearError();
} catch (e) {
_errorMessage = e.toString();
notifyListeners();
}
}