stopAll method
Stop All
Stops any currently playing media across all channels. Recommended on scene transitions or app suspends when you want silence and a clean slate.
Implementation
Future<void> stopAll() async {
await Future.wait([
bgm.stop(),
sfx.stop(),
voice.stop(),
]);
}