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