更新多个用户连接同一个设备的通知

This commit is contained in:
wyf
2025-07-15 10:59:41 +08:00
parent a8b0723714
commit 35cf04b580
6 changed files with 93 additions and 15 deletions

View File

@@ -7,8 +7,9 @@ class WebSocketMessage {
String path;
int? type;
dynamic data;
String? to;
WebSocketMessage({required this.path, this.type, this.data});
WebSocketMessage({required this.path, this.type, this.data, this.to});
static WebSocketMessage fromJson(Map<String, dynamic> json) =>
_$WebSocketMessageFromJson(json);