instance property

VeVodControlsPlatform get instance

The default instance of VeVodControlsPlatform to use.

Defaults to MethodChannelVeVodControls.

Implementation

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

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

Implementation

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