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