mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 03:31:09 +08:00
41
lib/models_new/pgc/pgc_info_model/up_info.dart
Normal file
41
lib/models_new/pgc/pgc_info_model/up_info.dart
Normal file
@@ -0,0 +1,41 @@
|
||||
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?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user