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