Surahs class
Represents a Surah (chapter) in the Quran.
Constructors
-
Surahs({required int number, required String name, required String englishName, required String englishNameTranslation, required String revelationType, required List<
Ayahs> ayahs}) -
Constructs a new
Surahs
object. -
Surahs.fromJson(Map<
String, dynamic> json) -
Constructs a new
Surahs
object from a JSON representation.
Properties
-
ayahs
→ List<
Ayahs> -
final
- englishName → String
-
final
- englishNameTranslation → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- number → int
-
final
- revelationType → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the
Surahs
object to a JSON representation. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited