notifySearchDevices property

  1. @override
Stream<NotifyDevicesEntity> notifySearchDevices
override

搜索设备数据

Implementation

@override
Stream<NotifyDevicesEntity> get notifySearchDevices => bs.where((data) {
  // return ((data["dataType"]) as String).contains("BleDevice");
  return data["notifyType"] == "searchDevices";
}).map((map) {
  return NotifyDevicesEntity.fromJson(map.cast<String, dynamic>());
});