clean up models

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-05 12:10:18 +08:00
parent b897103af0
commit 279f21857d
308 changed files with 156 additions and 6243 deletions

View File

@@ -1,41 +1,17 @@
class UpInfo {
String? avatar;
String? avatarSubscriptUrl;
int? follower;
int? isFollow;
int? mid;
String? nicknameColor;
int? themeType;
String? uname;
int? verifyType;
int? vipStatus;
int? vipType;
UpInfo({
this.avatar,
this.avatarSubscriptUrl,
this.follower,
this.isFollow,
this.mid,
this.nicknameColor,
this.themeType,
this.uname,
this.verifyType,
this.vipStatus,
this.vipType,
});
factory UpInfo.fromJson(Map<String, dynamic> json) => UpInfo(
avatar: json['avatar'] as String?,
avatarSubscriptUrl: json['avatar_subscript_url'] as String?,
follower: json['follower'] as int?,
isFollow: json['is_follow'] as int?,
mid: json['mid'] as int?,
nicknameColor: json['nickname_color'] as String?,
themeType: json['theme_type'] as int?,
uname: json['uname'] as String?,
verifyType: json['verify_type'] as int?,
vipStatus: json['vip_status'] as int?,
vipType: json['vip_type'] as int?,
);
}