Ayah class
Represents a single ayah (verse) from the Quran.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- hizb → int
-
The Hizb number this ayah belongs to (1-60)
final
- id → int
-
The ayah number within its surah
final
- juz → int
-
The Juz (Para) number this ayah belongs to (1-30)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sajdah → bool
-
Whether this ayah requires sajdah (prostration)
final
- text → String
-
The Arabic text of the ayah
final
Methods
-
copyWith(
{int? id, String? text, bool? sajdah, int? juz, int? hizb}) → Ayah - Creates a copy of this Ayah with the given fields replaced with new values
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the Ayah to JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override