SurahModel class

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

Constructors

SurahModel.new({required int surahNumber, required String arabicName, required String englishName, String? revelationType, required List<AyahModel> ayahs, required bool isDownloadedFonts, int? startPage, int? endPage})
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
endPage int?
getter/setter pair
englishName String
final
hashCode int
The hash code for this object.
no setterinherited
isDownloadedFonts bool
final
revelationType String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startPage int?
final
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