fix subtitle

This commit is contained in:
2024-11-30 13:50:07 +08:00
committed by nyne
parent b30bd11d1a
commit d96b36414d
3 changed files with 9 additions and 4 deletions

View File

@@ -172,7 +172,7 @@ class ComicDetails with HistoryMixin {
ComicDetails.fromJson(Map<String, dynamic> json)
: title = json["title"],
subTitle = json["subTitle"],
subTitle = json["subtitle"],
cover = json["cover"],
description = json["description"],
tags = _generateMap(json["tags"]),
@@ -198,7 +198,9 @@ class ComicDetails with HistoryMixin {
maxPage = json["maxPage"],
comments = (json["comments"] as List?)
?.map((e) => Comment.fromJson(e))
.toList();
.toList(){
print(json);
}
Map<String, dynamic> toJson() {
return {