toPlay method

Future<bool> toPlay()

to play status

Implementation

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