instance property
AuthKitPlatform
get
instance
The default instance of AuthKitPlatform to use.
Defaults to MethodChannelAuthKit.
Implementation
static AuthKitPlatform get instance => _instance;
set
instance
(AuthKitPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends AuthKitPlatform when they register themselves.
Implementation
static set instance(AuthKitPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}