Paginate<T> extension

Extension on the List<T> class that adds a paginate method for easy pagination of list elements.

on

Methods

paginate({required int itemsPerPage, required int page}) Iterable<T>

Available on List<T>, provided by the Paginate extension

Paginates the elements of the list based on the given parameters.