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