This commit is contained in:
hrxiang
2021-07-14 16:19:21 +08:00
parent c15773e28c
commit 9ac48d065a
13 changed files with 232 additions and 77 deletions

View File

@@ -75,14 +75,17 @@ class GroupMembersInfo {
int? joinTime;
String? nickName;
String? faceUrl;
dynamic ext;
GroupMembersInfo(
{this.groupID,
this.userId,
this.role,
this.joinTime,
this.nickName,
this.faceUrl});
GroupMembersInfo({
this.groupID,
this.userId,
this.role,
this.joinTime,
this.nickName,
this.faceUrl,
this.ext,
});
GroupMembersInfo.fromJson(Map<String, dynamic> json) {
groupID = json['groupID'];
@@ -91,6 +94,7 @@ class GroupMembersInfo {
joinTime = json['joinTime'];
nickName = json['nickName'];
faceUrl = json['faceUrl'];
ext = json['ext'];
}
Map<String, dynamic> toJson() {
@@ -101,6 +105,7 @@ class GroupMembersInfo {
data['joinTime'] = this.joinTime;
data['nickName'] = this.nickName;
data['faceUrl'] = this.faceUrl;
data['ext'] = this.ext;
return data;
}
}