instance property

AliAuthPluginPlatform get instance

The default instance of AliAuthPluginPlatform to use.

Defaults to MethodChannelAliAuthPlugin.

Implementation

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

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

Implementation

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