notifyBleState property

  1. @override
Stream<NotifyBleStateEntity> notifyBleState
override

蓝牙状态变化更新

Implementation

@override
Stream<NotifyBleStateEntity> get notifyBleState => bs.where((data) {
  return data["notifyType"] == "bleState";
}).map((state) {
  print("YaseeFlutter: ${state}");
  return NotifyBleStateEntity.fromJson(state.cast<String, dynamic>());
});