copyWith method

CreateFooterCommentModel copyWith({
  1. String? blogPostId,
  2. String? pageId,
  3. String? parentCommentId,
  4. dynamic body,
})

Implementation

CreateFooterCommentModel copyWith(
    {String? blogPostId,
    String? pageId,
    String? parentCommentId,
    dynamic body}) {
  return CreateFooterCommentModel(
    blogPostId: blogPostId ?? this.blogPostId,
    pageId: pageId ?? this.pageId,
    parentCommentId: parentCommentId ?? this.parentCommentId,
    body: body ?? this.body,
  );
}