indexOfPage method

int indexOfPage(
  1. int page
)

The index of the 1st entry of page.

Implementation

int indexOfPage(int page) => (page - 1) * limit;