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