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