Merge pull request #105 from johnzerTang/main

feat:补充conversation_info的遗漏
main
hrxiang 2 years ago committed by GitHub
commit 8e0c736d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      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<String, dynamic> json)
@ -100,6 +105,8 @@ class ConversationInfo {
burnDuration = json['burnDuration'];
isNotInGroup = json['isNotInGroup'];
groupAtType = json['groupAtType'];
ex = json['ex'];
ext = json['ext'];
}
Map<String, dynamic> 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;
}

Loading…
Cancel
Save