instance property

WeiboKitPlatform instance

The default instance of WeiboKitPlatform to use.

Defaults to MethodChannelWeiboKit.

Implementation

static WeiboKitPlatform get instance => _instance;
void instance=(WeiboKitPlatform instance)

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

Implementation

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