copyWith method

PaginatedResponseComment copyWith({
  1. int? maxResults,
  2. List<Comment>? results,
  3. int? startAt,
  4. int? total,
})

Implementation

PaginatedResponseComment copyWith(
    {int? maxResults, List<Comment>? results, int? startAt, int? total}) {
  return PaginatedResponseComment(
    maxResults: maxResults ?? this.maxResults,
    results: results ?? this.results,
    startAt: startAt ?? this.startAt,
    total: total ?? this.total,
  );
}