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