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