copyWith method
Implementation
PageOfComments copyWith(
{List<Comment>? comments, int? maxResults, int? startAt, int? total}) {
return PageOfComments(
comments: comments ?? this.comments,
maxResults: maxResults ?? this.maxResults,
startAt: startAt ?? this.startAt,
total: total ?? this.total,
);
}