instance property

AliAuthPlatform instance

The default instance of AliAuthPlatform to use.

Defaults to MethodChannelAliAuth.

Implementation

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

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

Implementation

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