instance property

The default instance of GjFlutterPluginPlatform to use.

Defaults to MethodChannelGjFlutterPlugin.

Implementation

static GjFlutterPluginPlatform get instance => _instance;
void instance=(GjFlutterPluginPlatform instance)

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

Implementation

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