mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-26 21:03:07 +00:00
Fix JSON parsing for ChapterPageurls class
This commit is contained in:
parent
9ac0f191d7
commit
1c9a915c30
1 changed files with 2 additions and 2 deletions
|
|
@ -999,8 +999,8 @@ class ChapterPageurls {
|
||||||
ChapterPageurls({this.chapterId, this.urls});
|
ChapterPageurls({this.chapterId, this.urls});
|
||||||
ChapterPageurls.fromJson(Map<String, dynamic> json) {
|
ChapterPageurls.fromJson(Map<String, dynamic> json) {
|
||||||
chapterId = json['chapterId'];
|
chapterId = json['chapterId'];
|
||||||
urls = json['headers']?.cast<String>();
|
urls = json['urls']?.cast<String>();
|
||||||
urls = json['headers']?.cast<String>();
|
headers = json['headers']?.cast<String>();
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, dynamic> toJson() => {
|
Map<String, dynamic> toJson() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue