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