notifyBindDevices property

  1. @override
Stream<NotifyDevicesEntity> notifyBindDevices
override

绑定列表变化

Implementation

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