Surah class

Model representing a Surah (chapter) of the Quran.

Constructors

Surah({required int start, required int end, required int verseCount, required int revealationOrder, required int rukus, required int number, required String name, required String nameEnglish, required String meaning, required SurahType type})
Constructor for creating a Surah object.

Properties

end int
The verse number at which the Surah ends.
final
hashCode int
The hash code for this object.
no setterinherited
meaning String
The meaning or translation of the Surah name.
final
name String
The name of the Surah in Arabic.
final
nameEnglish String
The name of the Surah in English.
final
number int
The number of the Surah.
final
revealationOrder int
The order of revelation of the Surah.
final
rukus int
The number of rukus (sections) in the Surah.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
The verse number at which the Surah starts.
final
type SurahType
The type of the Surah (Meccan or Medinan).
final
verseCount int
The total number of verses in the Surah.
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