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