destroy method
void
destroy()
Implementation
void destroy() {
isPlaying = false;
final web.HTMLAudioElement? current = player;
player = null;
current?.pause();
}
void destroy() {
isPlaying = false;
final web.HTMLAudioElement? current = player;
player = null;
current?.pause();
}