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