instance property

AuthyoPluginPlatform get instance

The default instance of AuthyoPluginPlatform to use.

Defaults to MethodChannelAuthyoPlugin.

Implementation

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

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

Implementation

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