pausePlaying method

void pausePlaying()

Pauses the voice playback.

Implementation

void pausePlaying() {
  if (kDebugMode) {
    print(
        "--------------pausePlaying--------$playStatus---------------------------------------------");
  }
  _player.pause();
  playStatus = PlayStatus.pause;
  _updateUi();
  onPause();
}