Fix JSON parsing for ChapterPageurls class

This commit is contained in:
Moustapha Kodjo Amadou 2026-03-02 11:03:46 +01:00
parent 9ac0f191d7
commit 1c9a915c30

View file

@ -999,8 +999,8 @@ class ChapterPageurls {
ChapterPageurls({this.chapterId, this.urls});
ChapterPageurls.fromJson(Map<String, dynamic> json) {
chapterId = json['chapterId'];
urls = json['headers']?.cast<String>();
urls = json['headers']?.cast<String>();
urls = json['urls']?.cast<String>();
headers = json['headers']?.cast<String>();
}
Map<String, dynamic> toJson() => {