instance property

The default instance of FlutterArPluginPlatform to use.

Defaults to MethodChannelFlutterArPlugin.

Implementation

static FlutterArPluginPlatform get instance => _instance;
set instance (FlutterArPluginPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends FlutterArPluginPlatform when they register themselves.

Implementation

static set instance(FlutterArPluginPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}