SurahFontsModel class
This class is used for downloaded fonts.
It represents the Surahs model which contains information about the Surahs in the Quran.
Constructors
-
SurahFontsModel.new({required int surahNumber, required String arabicName, required String englishName, required String revelationType, required List<
AyahFontsModel> ayahs}) - Represents a model for downloaded fonts of a Surah in the Quran.
-
SurahFontsModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arabicName → String
-
The Arabic name of the Surah.
final
-
ayahs
→ List<
AyahFontsModel> -
A list of AyahFontsModel objects representing the ayahs (verses) in the surah.
final
- englishName → String
-
The English name of the Surah.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- revelationType → String
-
The type of revelation for the Surah (e.g., Meccan or Medinan).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surahNumber → int
-
The number of the Surah (chapter) in the Quran.
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