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