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