copyWith method

Replies copyWith({
  1. int? totalItems,
  2. String? selfLink,
  3. List<PostComments>? postComments,
})

Implementation

Replies copyWith({
  int? totalItems,
  String? selfLink,
  List<PostComments>? postComments,
}) {
  return Replies(
    totalItems: totalItems ?? this.totalItems,
    selfLink: selfLink ?? this.selfLink,
    postComments: postComments ?? this.postComments,
  );
}