toPause method

Future<bool> toPause()

to pause status

Implementation

Future<bool> toPause() async {
  if (_preprocessing().isNotEmpty) return false;
  bool playing = await _channel.invokeMethod("pause");
  _setPlaying(playing);
  return playing;
}