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