mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
mod: opus: show itemnull, moduleblocked
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -173,11 +173,28 @@ class Card {
|
||||
String? oid;
|
||||
String? type;
|
||||
Ugc? ugc;
|
||||
ItemNull? itemNull;
|
||||
|
||||
Card.fromJson(Map<String, dynamic> json) {
|
||||
oid = json['oid'];
|
||||
type = json['type'];
|
||||
ugc = json['ugc'] == null ? null : Ugc.fromJson(json['ugc']);
|
||||
itemNull =
|
||||
json['item_null'] == null ? null : ItemNull.fromJson(json['item_null']);
|
||||
}
|
||||
}
|
||||
|
||||
class ItemNull {
|
||||
ItemNull({
|
||||
this.icon,
|
||||
this.text,
|
||||
});
|
||||
String? icon;
|
||||
String? text;
|
||||
|
||||
ItemNull.fromJson(Map<String, dynamic> json) {
|
||||
icon = json['icon'];
|
||||
text = json['text'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user