notifyBleState property
override
蓝牙状态变化更新
Implementation
@override
Stream<NotifyBleStateEntity> get notifyBleState => bs.where((data) {
return data["notifyType"] == "bleState";
}).map((state) {
if (kDebugMode && Yasee.openLog) { print("Yasee-plugin | 蓝牙状态: $state"); }
return NotifyBleStateEntity.fromJson(state.cast<String, dynamic>());
});