instance property

The default instance of VideoPlayerControlPanelPlatform to use.

Defaults to MethodChannelVideoPlayerControlPanel.

Implementation

static VideoPlayerControlPanelPlatform get instance => _instance;
void instance=(VideoPlayerControlPanelPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends VideoPlayerControlPanelPlatform when they register themselves.

Implementation

static set instance(VideoPlayerControlPanelPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}