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