copyWith method

CustomContentUpdateRequest copyWith({
  1. String? id,
  2. String? type,
  3. CustomContentUpdateRequestStatus? status,
  4. String? spaceId,
  5. String? pageId,
  6. String? blogPostId,
  7. String? customContentId,
  8. String? title,
  9. dynamic body,
  10. CustomContentUpdateRequestVersion? version,
})

Implementation

CustomContentUpdateRequest copyWith(
    {String? id,
    String? type,
    CustomContentUpdateRequestStatus? status,
    String? spaceId,
    String? pageId,
    String? blogPostId,
    String? customContentId,
    String? title,
    dynamic body,
    CustomContentUpdateRequestVersion? version}) {
  return CustomContentUpdateRequest(
    id: id ?? this.id,
    type: type ?? this.type,
    status: status ?? this.status,
    spaceId: spaceId ?? this.spaceId,
    pageId: pageId ?? this.pageId,
    blogPostId: blogPostId ?? this.blogPostId,
    customContentId: customContentId ?? this.customContentId,
    title: title ?? this.title,
    body: body ?? this.body,
    version: version ?? this.version,
  );
}