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