mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
show article heading
Closes #1338 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -11,6 +11,7 @@ class ArticleContentModel {
|
||||
LinkCard? linkCard;
|
||||
Code? code;
|
||||
L1st? list;
|
||||
Text? heading;
|
||||
|
||||
ArticleContentModel.fromJson(Map<String, dynamic> json) {
|
||||
align = json['align'];
|
||||
@@ -24,6 +25,7 @@ class ArticleContentModel {
|
||||
: LinkCard.fromJson(json['link_card']);
|
||||
code = json['code'] == null ? null : Code.fromJson(json['code']);
|
||||
list = json['list'] == null ? null : L1st.fromJson(json['list']);
|
||||
heading = json['heading'] == null ? null : Text.fromJson(json['heading']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user