feat: member cheese

feat: fav pugv

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-07 11:19:59 +08:00
parent 26a5b7b7a7
commit 6d55321699
22 changed files with 634 additions and 17 deletions

View File

@@ -11,16 +11,16 @@ class Brief {
}
class Img {
num? aspectRatio;
num aspectRatio;
String? url;
Img({
this.aspectRatio,
required this.aspectRatio,
this.url,
});
factory Img.fromJson(Map<String, dynamic> json) => Img(
aspectRatio: json['aspect_ratio'],
aspectRatio: json['aspect_ratio'] ?? 1,
url: json['url'] as String?,
);
}

View File

@@ -10,6 +10,7 @@ class UserStatus {
int? payPackPaid;
int? sponsor;
UserProgress? progress;
int? favored;
UserStatus({
this.areaLimit,
@@ -21,6 +22,7 @@ class UserStatus {
this.payPackPaid,
this.sponsor,
this.progress,
this.favored,
});
factory UserStatus.fromJson(Map<String, dynamic> json) => UserStatus(
@@ -35,5 +37,6 @@ class UserStatus {
progress: json['progress'] == null
? null
: UserProgress.fromJson(json['progress']),
favored: json['favored'] as int?,
);
}