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