instance property

The default instance of GluonDummyPlugin2Platform to use.

Defaults to MethodChannelGluonDummyPlugin2.

Implementation

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

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

Implementation

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