copyWith method
CreateInlineCommentModel
copyWith({
- String? blogPostId,
- String? pageId,
- String? parentCommentId,
- dynamic body,
- 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,
);
}