main
hrxiang 2 years ago
parent 9c5aa56609
commit eb3361c4b3
  1. 6
      lib/src/models/user_info.dart

@ -62,6 +62,9 @@ class UserInfo {
/// 12
int? allowVibration;
///
int? forbidden;
UserInfo({
this.publicInfo,
this.friendInfo,
@ -83,6 +86,7 @@ class UserInfo {
this.allowAddFriend,
this.allowBeep,
this.allowVibration,
this.forbidden,
});
// UserInfo.self(Map<String, dynamic> json) {
@ -125,6 +129,7 @@ class UserInfo {
allowAddFriend = json['allowAddFriend'];
allowBeep = json['allowBeep'];
allowVibration = json['allowVibration'];
forbidden = json['forbidden'];
}
Map<String, dynamic> toJson() {
@ -149,6 +154,7 @@ class UserInfo {
data['allowAddFriend'] = this.allowAddFriend;
data['allowBeep'] = this.allowBeep;
data['allowVibration'] = this.allowVibration;
data['forbidden'] = this.forbidden;
return data;
}

Loading…
Cancel
Save