mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
@@ -1,15 +1,13 @@
|
||||
class LevelInfo {
|
||||
int? privilegeType;
|
||||
String? name;
|
||||
int? price;
|
||||
int? memberTotal;
|
||||
|
||||
LevelInfo({this.privilegeType, this.name, this.price, this.memberTotal});
|
||||
LevelInfo({this.privilegeType, this.name, 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?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user