instance property
BluetoothConnectPlatform
get
instance
当前生效的平台实现(默认 MethodChannel)。
Implementation
static BluetoothConnectPlatform get instance => _instance;
set
instance
(BluetoothConnectPlatform instance)
替换平台实现(主要用于单元测试)。
Implementation
static set instance(BluetoothConnectPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}