append method
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,
],
);
}