instance property

WecomAuthPlusPlatform get instance

The default instance of WecomAuthPlusPlatform to use.

Defaults to MethodChannelWecomAuthPlus.

Implementation

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

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

Implementation

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