playOrPause method

Future<void> playOrPause()

Cycles between play & pause states of the Player.

Implementation

Future<void> playOrPause() async {
  return platform?.playOrPause();
}