pageStartedAt property

int get pageStartedAt

The starting index of the current page.

Implementation

int get pageStartedAt => totalItems == 0 ? 0 : ((page - 1) * itemsPerPage) + 1;