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