dispose method
Disposes the audio pool. Then it cannot be used anymore.
Implementation
Future<void> dispose() =>
Future.wait(availablePlayers.map((e) => e.dispose()));
Disposes the audio pool. Then it cannot be used anymore.
Future<void> dispose() =>
Future.wait(availablePlayers.map((e) => e.dispose()));