mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
16 lines
412 B
Dart
16 lines
412 B
Dart
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?,
|
|
);
|
|
}
|