instance property

SmartAuthPlusPlatform get instance

The default instance of SmartAuthPlusPlatform to use.

Defaults to MethodChannelSmartAuthPlus.

Implementation

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

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

Implementation

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