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