togglePlayback method

void togglePlayback()

Toggles between play and pause states.

Throws UnimplementedError if not implemented by the platform.

Implementation

void togglePlayback() {
  throw UnimplementedError('togglePlayback() has not been implemented.');
}