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