dispose method

void dispose()

Releases resources used by the player and performs cleanup.

Call this method when the controller is no longer needed to free up resources.

Implementation

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