append method

Pagination<T> append(
  1. Pagination other
)

Implementation

Pagination<T> append(Pagination other) {
  return Pagination<T>(
    page: other.page,
    total: other.total,
    pageSize: other.pageSize,
    lastPage: other.lastPage,
    results: [
      ...results,
      ...other.results,
    ],
  );
}