instance property

AuthPackagePlatform get instance

The default instance of AuthPackagePlatform to use.

Defaults to MethodChannelAuthPackage.

Implementation

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

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

Implementation

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