copyWith method

ContentPageResponse copyWith({
  1. List<Content>? results,
  2. int? start,
  3. int? limit,
  4. int? size,
})

Implementation

ContentPageResponse copyWith(
    {List<Content>? results, int? start, int? limit, int? size}) {
  return ContentPageResponse(
    results: results ?? this.results,
    start: start ?? this.start,
    limit: limit ?? this.limit,
    size: size ?? this.size,
  );
}