instance property

FlutterArPlatform get instance

The default instance of SceneviewFlutterPlatform to use.

Defaults to MethodChannelSceneViewFlutter.

Implementation

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

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

Implementation

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