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