stop method
Implementation
Future<void> stop(AudioPlayer player) async {
_state = null;
_audio = null;
await player.seek(const Duration());
await player.stop();
}
Future<void> stop(AudioPlayer player) async {
_state = null;
_audio = null;
await player.seek(const Duration());
await player.stop();
}