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