playOrPause method

  1. @override
Future<void> playOrPause()
override

Either play or pause depending on the play state

Implementation

@override
Future<void> playOrPause() async {
  await methodChannel.invokeMethod<void>("playOrPause");
}