From 15854a2c27cabd1fa11a66dc93e8c6df027afdb8 Mon Sep 17 00:00:00 2001 From: johnzer <1127820406@qq.com> Date: Mon, 9 Jan 2023 16:27:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=A1=A5=E5=85=85conversation=5Finfo?= =?UTF-8?q?=E7=9A=84=E9=81=97=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/src/models/conversation_info.dart | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/src/models/conversation_info.dart b/lib/src/models/conversation_info.dart index ee339ad..c9364c3 100644 --- a/lib/src/models/conversation_info.dart +++ b/lib/src/models/conversation_info.dart @@ -54,6 +54,9 @@ class ConversationInfo { /// 附加内容 String? ext; + /// 附加内容 + String? ex; + /// 是否还在组内,如果退群返回true bool? isNotInGroup; @@ -74,6 +77,8 @@ class ConversationInfo { this.burnDuration, this.isPinned, this.isNotInGroup, + this.ex, + this.ext, }); ConversationInfo.fromJson(Map json) @@ -100,6 +105,8 @@ class ConversationInfo { burnDuration = json['burnDuration']; isNotInGroup = json['isNotInGroup']; groupAtType = json['groupAtType']; + ex = json['ex']; + ext = json['ext']; } Map toJson() { @@ -121,6 +128,8 @@ class ConversationInfo { data['burnDuration'] = this.burnDuration; data['isNotInGroup'] = this.isNotInGroup; data['groupAtType'] = this.groupAtType; + data['ex'] = this.ex; + data['ext'] = this.ext; return data; }