notifySearchDevices property
override
搜索设备数据
Implementation
@override
Stream<NotifyDevicesEntity> get notifySearchDevices => bs.where((data) {
// return ((data["dataType"]) as String).contains("BleDevice");
return data["notifyType"] == "searchDevices";
}).map((map) {
if (kDebugMode && Yasee.openLog) { print("Yasee-plugin | 搜索设备: $map"); }
return NotifyDevicesEntity.fromJson(map.cast<String, dynamic>());
});