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