feat: upower rank page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-02 12:42:46 +08:00
parent 459d7cb9f1
commit 19cf085e3e
11 changed files with 455 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
class LevelInfo {
int? privilegeType;
String? name;
int? price;
int? memberTotal;
LevelInfo({this.privilegeType, this.name, this.price, this.memberTotal});
factory LevelInfo.fromJson(Map<String, dynamic> json) => LevelInfo(
privilegeType: json['privilege_type'] as int?,
name: json['name'] as String?,
price: json['price'] as int?,
memberTotal: json['member_total'] as int?,
);
Map<String, dynamic> toJson() => {
'privilege_type': privilegeType,
'name': name,
'price': price,
'member_total': memberTotal,
};
}