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