instance property
AdiscopeFlutterPluginPlatform
get
instance
The default instance of AdiscopeFlutterPluginPlatform to use.
Defaults to MethodChannelAdiscopeFlutterPlugin.
Implementation
static AdiscopeFlutterPluginPlatform get instance => _instance;
set
instance
(AdiscopeFlutterPluginPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends AdiscopeFlutterPluginPlatform when they register themselves.
Implementation
static set instance(AdiscopeFlutterPluginPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}