instance property
FlutterConscentPluginPlatform
get
instance
The default instance of FlutterConscentPluginPlatform to use.
Defaults to MethodChannelFlutterConscentPlugin.
Implementation
static FlutterConscentPluginPlatform get instance => _instance;
set
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;
}