Ayahs constructor

Ayahs({
  1. required int number,
  2. required String audio,
  3. required List<String> audioSecondary,
  4. required String text,
  5. required int numberInSurah,
  6. required int juz,
  7. required int manzil,
  8. required int page,
  9. required int ruku,
  10. required int hizbQuarter,
  11. required bool sajda,
})

Constructs a new Ayahs object.

  • number: The Ayah number.
  • audio: The audio URL of the Ayah.
  • audioSecondary: The secondary audio URLs of the Ayah.
  • text: The text of the Ayah.
  • numberInSurah: The number of the Ayah within the Surah.
  • juz: The Juz (part) number the Ayah belongs to.
  • manzil: The Manzil number the Ayah belongs to.
  • page: The page number the Ayah belongs to.
  • ruku: The Ruku number the Ayah belongs to.
  • hizbQuarter: The Hizb quarter number the Ayah belongs to.
  • sajda: Indicates if the Ayah contains Sajda (prostration) verses.

Implementation

Ayahs({
  required this.number,
  required this.audio,
  required this.audioSecondary,
  required this.text,
  required this.numberInSurah,
  required this.juz,
  required this.manzil,
  required this.page,
  required this.ruku,
  required this.hizbQuarter,
  required this.sajda,
});