instance property

TencentKitPlatform get instance

The default instance of TencentKitPlatform to use.

Defaults to MethodChannelTencentKit.

Implementation

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

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

Implementation

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