|
...
|
...
|
@@ -205,7 +205,8 @@ class UserInfoResponse { |
|
|
|
this.isBot,
|
|
|
|
this.uniqueCode,
|
|
|
|
this.enableAddWithUCode,
|
|
|
|
this.isPassNoviceGuide});
|
|
|
|
this.isPassNoviceGuide,
|
|
|
|
this.thirdAccountId});
|
|
|
|
|
|
|
|
final int? id;
|
|
|
|
final String? pairCode;
|
|
...
|
...
|
@@ -221,6 +222,7 @@ class UserInfoResponse { |
|
|
|
final String? uniqueCode;
|
|
|
|
final int? enableAddWithUCode;
|
|
|
|
final int? isPassNoviceGuide;
|
|
|
|
final String? thirdAccountId;
|
|
|
|
|
|
|
|
factory UserInfoResponse.fromJson(Map<String, dynamic> json) {
|
|
|
|
return UserInfoResponse(
|
|
...
|
...
|
@@ -238,6 +240,7 @@ class UserInfoResponse { |
|
|
|
uniqueCode: json['unique_code'] as String?,
|
|
|
|
enableAddWithUCode: json['enable_add_with_ucode'] as int?,
|
|
|
|
isPassNoviceGuide: json['is_pass_novice_guide'] as int?,
|
|
|
|
thirdAccountId: json['third_account_id'] as String?,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -261,6 +264,7 @@ class UserInfoResponse { |
|
|
|
if (isPassNoviceGuide != null) {
|
|
|
|
val['is_pass_novice_guide'] = isPassNoviceGuide;
|
|
|
|
}
|
|
|
|
if (thirdAccountId != null) val['third_account_id'] = thirdAccountId;
|
|
|
|
return val;
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|