copyWith method

CreateInlineCommentModel copyWith({
  1. String? blogPostId,
  2. String? pageId,
  3. String? parentCommentId,
  4. dynamic body,
  5. CreateInlineCommentModelInlineCommentProperties? inlineCommentProperties,
})

Implementation

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