toJson method
Implementation
Map<String, dynamic> toJson() => {
"number": number,
"name": name,
"englishName": englishName,
"englishNameTranslation": englishNameTranslation,
"revelationType": revelationTypeValues.reverse[revelationType],
"verse": verse,
"words": words,
"chars": chars,
"ayahs": List<dynamic>.from(ayahs.map((x) => x.toJson())),
};