stop method
Implementation
Future<void> stop() async {
_running = false;
if (_player.isPlaying) {
await _player.stopPlayer();
}
}
Future<void> stop() async {
_running = false;
if (_player.isPlaying) {
await _player.stopPlayer();
}
}