loadVerses static method
loadVerses is a void Future method that called in initializing method in QuranController class.
it is responsible on loading all verses of Quran and set them in allVerses variable.
furthermore, it loads the details for surahsDetails and juzsDetails.
Implementation
static Future<void> loadVerses() async {
surahsDetails = await _getSurahsDetails();
juzsDetails = await _getJuzsDetails();
for (int i = 1; i <= 604; i++) {
allVerses
.addAll((await _gettingAllVersesFilteredByPageNumbers(i)).verses);
}
}