factories top-level property
Implementation
final factories = <Type, Function>{
Narration: (Map<String, dynamic> data) => Narration.fromJson(data),
Book: (Map<String, dynamic> data) => Book.fromJson(data),
Chapter: (Map<String, dynamic> data) => Chapter.fromJson(data),
Glyph: (Map<String, dynamic> data) => Glyph.fromJson(data),
Page: (Map<String, dynamic> data) => Page.fromJson(data),
Part: (Map<String, dynamic> data) => Part.fromJson(data),
Recitation: (Map<String, dynamic> data) => Recitation.fromJson(data),
RecitationVerses: (Map<String, dynamic> data) => RecitationVerses.fromJson(data),
Reciter: (Map<String, dynamic> data) => Reciter.fromJson(data),
Verse: (Map<String, dynamic> data) => Verse.fromJson(data)
};