main
hrxiang 2 years ago
parent 788ab524c2
commit 3e03460300
  1. 22
      lib/src/models/user_info.dart

@ -53,8 +53,14 @@ class UserInfo {
/// 012线线
int? globalRecvMsgOpt;
///
bool? isAllowAddFriend;
/// 12
int? allowAddFriend;
/// 12
int? allowBeep;
/// 12
int? allowVibration;
UserInfo({
this.publicInfo,
@ -74,7 +80,9 @@ class UserInfo {
this.createTime,
this.remark,
this.globalRecvMsgOpt,
this.isAllowAddFriend,
this.allowAddFriend,
this.allowBeep,
this.allowVibration,
});
// UserInfo.self(Map<String, dynamic> json) {
@ -114,7 +122,9 @@ class UserInfo {
ex = json['ex'] ?? _ex;
createTime = json['createTime'];
globalRecvMsgOpt = json['globalRecvMsgOpt'];
isAllowAddFriend = json['isAllowAddFriend'];
allowAddFriend = json['allowAddFriend'];
allowBeep = json['allowBeep'];
allowVibration = json['allowVibration'];
}
Map<String, dynamic> toJson() {
@ -136,7 +146,9 @@ class UserInfo {
data['createTime'] = this.createTime;
data['remark'] = this.remark;
data['globalRecvMsgOpt'] = this.globalRecvMsgOpt;
data['isAllowAddFriend'] = this.isAllowAddFriend;
data['allowAddFriend'] = this.allowAddFriend;
data['allowBeep'] = this.allowBeep;
data['allowVibration'] = this.allowVibration;
return data;
}

Loading…
Cancel
Save