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