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