notifyHistoryData property
override
历史数据
Implementation
@override
Stream<NotifyHistoryDataEntity> get notifyHistoryData => bs.where((data) {
// return ((data["dataType"]) as String).contains("BleDevice");
return data["notifyType"] == "testHistory";
}).map((map) {
if (kDebugMode && Yasee.openLog) { print("Yasee-plugin | 历史数据: $map"); }
return NotifyHistoryDataEntity.fromJson(map.cast<String, dynamic>());
});