|
|
@ -4,7 +4,7 @@ class UserData { |
|
|
final String nickName; |
|
|
final String nickName; |
|
|
final String? name; |
|
|
final String? name; |
|
|
final String? profilePhoto; |
|
|
final String? profilePhoto; |
|
|
final String? identityCard; |
|
|
|
|
|
|
|
|
String? identityCard; |
|
|
final int genderCode; |
|
|
final int genderCode; |
|
|
final String genderValue; |
|
|
final String genderValue; |
|
|
final String? homeCountryCode; |
|
|
final String? homeCountryCode; |
|
|
@ -59,7 +59,6 @@ class UserData { |
|
|
final String? hometownProvinceName; |
|
|
final String? hometownProvinceName; |
|
|
final int? hometownCityCode; |
|
|
final int? hometownCityCode; |
|
|
final String? hometownCityName; |
|
|
final String? hometownCityName; |
|
|
bool? realAuth; |
|
|
|
|
|
|
|
|
|
|
|
UserData({ |
|
|
UserData({ |
|
|
required this.id, |
|
|
required this.id, |
|
|
@ -121,7 +120,6 @@ class UserData { |
|
|
this.hometownProvinceName, |
|
|
this.hometownProvinceName, |
|
|
this.hometownCityCode, |
|
|
this.hometownCityCode, |
|
|
this.hometownCityName, |
|
|
this.hometownCityName, |
|
|
this.realAuth, |
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
// 从JSON映射创建实例 |
|
|
// 从JSON映射创建实例 |
|
|
@ -186,7 +184,6 @@ class UserData { |
|
|
hometownProvinceName: json['hometownProvinceName'], |
|
|
hometownProvinceName: json['hometownProvinceName'], |
|
|
hometownCityCode: json['hometownCityCode'], |
|
|
hometownCityCode: json['hometownCityCode'], |
|
|
hometownCityName: json['hometownCityName'], |
|
|
hometownCityName: json['hometownCityName'], |
|
|
realAuth: json['realAuth'], |
|
|
|
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -252,7 +249,6 @@ class UserData { |
|
|
'hometownProvinceName': hometownProvinceName, |
|
|
'hometownProvinceName': hometownProvinceName, |
|
|
'hometownCityCode': hometownCityCode, |
|
|
'hometownCityCode': hometownCityCode, |
|
|
'hometownCityName': hometownCityName, |
|
|
'hometownCityName': hometownCityName, |
|
|
'realAuth': realAuth, |
|
|
|
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|