pause method

  1. @override
Future<void> pause(
  1. String playerId
)

Pauses the audio that is currently playing.

If you call resume later, the audio will resume from the point that it has been paused.

Implementation

@override
Future<void> pause(String playerId) async {
  getPlayer(playerId).pause();
}