currentPage property

int get currentPage

from 0

Implementation

int get currentPage {
  return (offset + pageSize - 1) ~/ pageSize;
}