resetPlugin method
Implementation
@override
Future<void>? resetPlugin(
FlutterSoundPlayerCallback callback,
) {
callback.log(Level.debug, '---> resetPlugin');
for (int i = 0; i < _slots.length; ++i) {
callback.log(Level.debug, "Releasing slot #$i");
_slots[i]!.releaseMediaPlayer();
}
_slots = [];
callback.log(Level.debug, '<--- resetPlugin');
return null;
}