This commit is contained in:
v7lin
2022-05-17 14:25:47 +08:00
parent 9f56099735
commit 2d8df1a91e
3 changed files with 23 additions and 30 deletions

View File

@ -34,8 +34,8 @@ abstract class TencentApiResp {
)
class TencentUserInfoResp extends TencentApiResp {
const TencentUserInfoResp({
required int ret,
String? msg,
required super.ret,
super.msg,
this.isLost,
this.nickname,
this.gender,
@ -56,7 +56,7 @@ class TencentUserInfoResp extends TencentApiResp {
this.yellowVipLevel,
this.level,
this.isYellowYearVip,
}) : super(ret: ret, msg: msg);
});
factory TencentUserInfoResp.fromJson(Map<String, dynamic> json) =>
_$TencentUserInfoRespFromJson(json);