togglePlayback method

void togglePlayback()

Toggles between play and pause states.

Implementation

void togglePlayback() {
  ByteArkPlayerControllerPlatform.instance.togglePlayback();
}