pause method

Future<void> pause()

Pauses the currently playing audio.

Implementation

Future<void> pause() async {
  await _audioPlayer.pause();
}