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