getBleDevice method

  1. @override
Future<BleDevice?> getBleDevice()
override

返回设备的蓝牙操作对象

Implementation

@override
Future<BleDevice?> getBleDevice() async {
  var bool = await isInit();
  return bool ? BleDeviceMethod() : null;
}