Data constructor

Data({
  1. required List<Surahs> surahs,
  2. required Edition edition,
})

Constructs a new Data object.

  • surahs: The list of Surahs in the Quran.
  • edition: The edition information of the Quran.

Implementation

Data({
  required this.surahs,
  required this.edition,
});