notifyDeviceLink property

  1. @override
Stream<NotifyDeviceLinkEntity> get notifyDeviceLink
override

设备连接状态

Implementation

@override
Stream<NotifyDeviceLinkEntity> get notifyDeviceLink => bs.where((data) {
  return data["notifyType"] == "deviceLink";
}).map((map) {
  if (kDebugMode && Yasee.openLog) { print("Yasee-plugin | 连接状态: $map"); }
  return NotifyDeviceLinkEntity.fromJson(map.cast<String, dynamic>());
});