withNextStartIndex method

PortalQueryParameters withNextStartIndex(
  1. int nextStartIndex
)

Returns a copy of this PortalQueryParameters with startIndex replaced by nextStartIndex.

Implementation

PortalQueryParameters withNextStartIndex(int nextStartIndex) {
  return PortalQueryParameters(
    query: query,
    filter: filter,
    limit: limit,
    searchPublic: searchPublic,
    sortField: sortField,
    sortOrder: sortOrder,
    startIndex: nextStartIndex,
  );
}