Surahs constructor
Surahs({})
Constructs a new Surahs
object.
number
: The Surah number.name
: The name of the Surah.englishName
: The English name of the Surah.englishNameTranslation
: The translation of the English name of the Surah.revelationType
: The type of revelation.ayahs
: The list of Ayahs in the Surah.
Implementation
Surahs({
required this.number,
required this.name,
required this.englishName,
required this.englishNameTranslation,
required this.revelationType,
required this.ayahs,
});