pause method

Future pause()

Implementation

Future pause() async {
  _pts?.playing = false;
  await _playback?.pause();
  if (!_onFrameAdded.isClosed) _onFrameAdded.add(1);
  return Future.value(_playingFuture);
}