getSurahDataByAyah method
Retrieves the Surah data for a given Ayah.
This method returns the SurahModel of the Surah that contains the given Ayah.
يستخدم ayahUQNumber للمقارنة بدلاً من المساواة المرجعية.
Parameters: ayah (AyahModel): The Ayah for which to retrieve the Surah data.
Returns:
SurahModel: The SurahModel representing the Surah of the given Ayah.
Implementation
SurahModel getSurahDataByAyah(AyahModel ayah) => surahs.firstWhere(
(s) => s.ayahs.any((a) => a.ayahUQNumber == ayah.ayahUQNumber),
orElse: () => surahs.first,
);