main
hrxiang 2 years ago
parent eed59f468c
commit 788ab524c2
  1. 6
      lib/src/models/user_info.dart

@ -53,6 +53,9 @@ class UserInfo {
/// 012线线
int? globalRecvMsgOpt;
///
bool? isAllowAddFriend;
UserInfo({
this.publicInfo,
this.friendInfo,
@ -71,6 +74,7 @@ class UserInfo {
this.createTime,
this.remark,
this.globalRecvMsgOpt,
this.isAllowAddFriend,
});
// UserInfo.self(Map<String, dynamic> json) {
@ -110,6 +114,7 @@ class UserInfo {
ex = json['ex'] ?? _ex;
createTime = json['createTime'];
globalRecvMsgOpt = json['globalRecvMsgOpt'];
isAllowAddFriend = json['isAllowAddFriend'];
}
Map<String, dynamic> toJson() {
@ -131,6 +136,7 @@ class UserInfo {
data['createTime'] = this.createTime;
data['remark'] = this.remark;
data['globalRecvMsgOpt'] = this.globalRecvMsgOpt;
data['isAllowAddFriend'] = this.isAllowAddFriend;
return data;
}

Loading…
Cancel
Save