instance property

The default instance of WechatVideoCallPlatform to use.

Defaults to MethodChannelWechatVideoCall.

Implementation

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

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

Implementation

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