getAyatFromSurah method

List<AyahWithSurah> getAyatFromSurah(
  1. int surahId
)

Get ayat from a specific surah within this Juz

Implementation

List<AyahWithSurah> getAyatFromSurah(int surahId) {
  return ayat.where((ayah) => ayah.surah.id == surahId).toList();
}