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