Data class
This library provides classes and models for representing Quranic data in Arabic.
The Data class represents the overall Quranic data, including a list of Surahs and an Edition object that provides information about the Quran edition.
The Surahs class represents a specific Surah (chapter) of the Quran, containing properties such as the Surah number, name, English name, translation, revelation type, and a list of Ayahs (verses) within the Surah.
The Ayahs class represents an individual Ayah (verse) within a Surah, with properties such as the Ayah number, audio URL, secondary audio URLs, text, number in Surah, Juz, Manzil, page, ruku, hizb quarter, and a boolean indicating if Sajda (prostration) is required.
The Edition class represents information about the Quran edition, including the identifier, language, name, English name, format, and type.
This library provides methods to parse Quranic data from JSON using the fromJson
constructors,
as well as convert the data back to JSON using the toJson
methods.
Use the provided classes and methods in this library to work with Quranic data in Arabic. Represents the data structure of the Quran.
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the
Data
object to a JSON representation. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited