This commit is contained in:
hrxiang
2022-06-16 12:18:15 +08:00
parent 8abc8e4399
commit e2b546f400
6 changed files with 37 additions and 2 deletions

View File

@@ -29,6 +29,9 @@ class UserInfo {
bool? isBlacklist;
/// 全局免打扰
int? globalRecvMsgOpt;
UserInfo({
this.publicInfo,
this.friendInfo,
@@ -46,6 +49,7 @@ class UserInfo {
this.ex,
this.createTime,
this.remark,
this.globalRecvMsgOpt,
});
// UserInfo.self(Map<String, dynamic> json) {
@@ -84,6 +88,7 @@ class UserInfo {
remark = json['remark'] ?? _remark;
ex = json['ex'] ?? _ex;
createTime = json['createTime'];
globalRecvMsgOpt = json['globalRecvMsgOpt'];
}
Map<String, dynamic> toJson() {
@@ -104,6 +109,7 @@ class UserInfo {
data['ex'] = this.ex;
data['createTime'] = this.createTime;
data['remark'] = this.remark;
data['globalRecvMsgOpt'] = this.globalRecvMsgOpt;
return data;
}