instance property

The default instance of FlutterConscentPluginPlatform to use.

Defaults to MethodChannelFlutterConscentPlugin.

Implementation

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

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

Implementation

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