Surah constructor

const Surah({
  1. required int id,
  2. required String name,
  3. required String englishName,
  4. required String revelationType,
  5. required int numberOfAyahs,
  6. required int revelationOrder,
  7. required List<Ayah> ayat,
  8. String source = "Tanzil Project - https://tanzil.net",
})

Implementation

const Surah({
  required this.id,
  required this.name,
  required this.englishName,
  required this.revelationType,
  required this.numberOfAyahs,
  required this.revelationOrder,
  required this.ayat,
  this.source = "Tanzil Project - https://tanzil.net",
});