instance property

The default instance of VideoCodecPluginPlatform to use.

Defaults to MethodChannelVideoCodecPlugin.

Implementation

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

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

Implementation

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