mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 09:37:02 +08:00
@@ -43,9 +43,9 @@ class Vip {
|
||||
Label? label;
|
||||
|
||||
Vip.fromJson(Map<String, dynamic> json) {
|
||||
type = json['type'];
|
||||
status = json['status'] ?? 0;
|
||||
dueDate = json['due_date'];
|
||||
type = json['type'] ?? json['vipType'];
|
||||
status = json['status'] ?? json['vipStatus'] ?? 0;
|
||||
dueDate = json['due_date'] ?? json['vipDueDate'];
|
||||
if (json['label'] != null) label = Label.fromJson(json['label']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user