copyWith method
ChildrenCommentModel
copyWith({
- dynamic id,
- String? status,
- String? title,
- dynamic parentCommentId,
- Version? version,
- BodyBulk? body,
- CommentLinks? links,
Implementation
ChildrenCommentModel copyWith(
{dynamic id,
String? status,
String? title,
dynamic parentCommentId,
Version? version,
BodyBulk? body,
CommentLinks? links}) {
return ChildrenCommentModel(
id: id ?? this.id,
status: status ?? this.status,
title: title ?? this.title,
parentCommentId: parentCommentId ?? this.parentCommentId,
version: version ?? this.version,
body: body ?? this.body,
links: links ?? this.links,
);
}