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