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