更新多个用户连接同一个设备的通知
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user