copyWithWrapped method

Paging copyWithWrapped({
  1. Wrapped<int>? limit,
  2. Wrapped<int>? offset,
  3. Wrapped<int>? totalCount,
})

Implementation

Paging copyWithWrapped({
  Wrapped<int>? limit,
  Wrapped<int>? offset,
  Wrapped<int>? totalCount,
}) {
  return Paging(
    limit: (limit != null ? limit.value : this.limit),
    offset: (offset != null ? offset.value : this.offset),
    totalCount: (totalCount != null ? totalCount.value : this.totalCount),
  );
}