map method

void map(
  1. GridResult<TListItem> other
)

Maps the properties of another GridResult instance to the current instance.

Implementation

void map(GridResult<TListItem> other) {
  items = other.items;
  hasMoreItems = other.hasMoreItems;
  currentPage = other.currentPage;
  startPage = other.startPage;
  endPage = other.endPage;
  pageCount = other.pageCount;
  pageSize = other.pageSize;
  rowCount = other.rowCount;
  hasPreviousPage = other.hasPreviousPage;
  hasNextPage = other.hasNextPage;
  hasMultiplePages = other.hasMultiplePages;
  firstRowOnPage = other.firstRowOnPage;
  lastRowOnPage = other.lastRowOnPage;
  hasItems = other.hasItems;
  nextCursor = other.nextCursor;
  previousCursor = other.previousCursor;
  additionalData = other.additionalData;
}