getPageAyahsByIndex method

List<AyahModel> getPageAyahsByIndex(
  1. int pageIndex
)

Retrieves a list of AyahModel for a specific page index.

Parameters: pageIndex (int): The index of the page for which to retrieve the Ayahs.

Returns: List<AyahModel>: A list of AyahModel representing the Ayahs on the specified page.

Implementation

List<AyahModel> getPageAyahsByIndex(int pageIndex) => state.pages[pageIndex];