pageCount property

int get pageCount

Implementation

int get pageCount {
  return (total + pageSize - 1) ~/ pageSize;
}