instance property

FlutterLive2dPlatform get instance

Returns the active platform implementation.

Implementation

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

Replaces the active platform implementation. Used by federated plugin packages and by tests that mock the platform layer.

Implementation

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