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