setLoadNextPage method

void setLoadNextPage({
  1. int? rowsPerPage,
  2. int? firstRowIndex,
})

Implementation

void setLoadNextPage({int? rowsPerPage, int? firstRowIndex}) {
  rowsPerPage ??= widget.rowsPerPage;
  firstRowIndex ??= _firstRowIndex;

  loadNextPage = widget.source.loadNextPage(
    rowsPerPage,
    firstRowIndex,
    widget.sortColumnIndex,
    widget.sortAscending,
  );
}