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