SurahModel class

موديل موحد للسورة يربط مع AyahModel Unified Surah model linked with AyahModel

Constructors

SurahModel({required int surahNumber, required String arabicName, required String englishName, String? revelationType, required List<AyahModel> ayahs})
SurahModel.fromDownloadedFontsJson(Map<String, dynamic> json)
Factory لإنشاء السورة من json الخطوط المنزلة Factory to create surah from downloaded fonts JSON
factory
SurahModel.fromOriginalJson(Map<String, dynamic> json)
Factory لإنشاء السورة من json الأصلي Factory to create surah from original JSON
factory

Properties

arabicName → String
final
ayahs ↔ List<AyahModel>
getter/setter pair
englishName → String
final
hashCode → int
The hash code for this object.
no setterinherited
revelationType → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
surahNumber → int
final

Methods

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

Operators

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