copyWith method

CustomContentCreateRequest copyWith({
  1. String? type,
  2. CustomContentCreateRequestStatus? status,
  3. String? spaceId,
  4. String? pageId,
  5. String? blogPostId,
  6. String? customContentId,
  7. String? title,
  8. dynamic body,
})

Implementation

CustomContentCreateRequest copyWith(
    {String? type,
    CustomContentCreateRequestStatus? status,
    String? spaceId,
    String? pageId,
    String? blogPostId,
    String? customContentId,
    String? title,
    dynamic body}) {
  return CustomContentCreateRequest(
    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,
  );
}