instance property

VideoToolboxPlatform get instance

The default instance of VideoToolboxPlatform to use.

Defaults to MethodChannelVideoToolbox.

Implementation

static VideoToolboxPlatform get instance => _instance;
set instance (VideoToolboxPlatform instance)

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

Implementation

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