copyWith method
CustomContentUpdateRequest
copyWith({
- String? id,
- String? type,
- CustomContentUpdateRequestStatus? status,
- String? spaceId,
- String? pageId,
- String? blogPostId,
- String? customContentId,
- String? title,
- dynamic body,
- 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,
);
}