AyahModel class

A model class representing an Ayah (verse) in the Quran.

This class contains properties and methods related to an Ayah, which is a single verse in the Quran. It is used to store and manipulate data related to an Ayah.

Constructors

AyahModel.new({required int ayahUQNumber, required int juz, required int surahNumber, required int page, required int lineStart, required int lineEnd, required int ayahNumber, required int quarter, required int hizb, required String englishName, required String arabicName, required String text, required String ayaTextEmlaey, required bool sajda, required bool centered})
Represents a model for an Ayah (verse) in the Quran.

Properties

arabicName String
The Arabic name of the Surah.
final
ayahNumber int
Represents the number of the Ayah (verse) in the Quran.
final
ayahUQNumber int
The unique number of the Ayah (verse) in the Quran.
final
ayaTextEmlaey String
The text of the Ayah in Emlaey script.
final
centered bool
Indicates whether the Ayah text should be centered.
getter/setter pair
englishName String
The English name of the Surah.
final
hashCode int
The hash code for this object.
no setterinherited
hizb int
Represents the Hizb number of the Ayah.
final
juz int
The Juz (part) number of the Ayah (verse) in the Quran.
final
lineEnd int
The ending line number of the Ayah (verse) in the Quran.
final
lineStart int
The starting line number of the Ayah in the Quran text.
final
page int
The page number where the Ayah (verse) is located in the Quran.
final
quarter int
Represents the quarter of the Ayah in the Quran.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sajda bool
Indicates whether the Ayah (verse) contains a Sajda (prostration) mark.
final
surahNumber int
The number of the Surah (chapter) in the Quran to which this Ayah (verse) belongs.
final
text String
The text of the Ayah (verse) from the Quran.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited