copyWith method
CustomContentBulk
copyWith(
{ - String? id,
- String? type,
- String? status,
- String? title,
- String? spaceId,
- String? pageId,
- String? blogPostId,
- String? customContentId,
- String? authorId,
- DateTime? createdAt,
- Version? version,
- CustomContentBodyBulk? body,
- CustomContentLinks? links,
})
Implementation
CustomContentBulk copyWith(
{String? id,
String? type,
String? status,
String? title,
String? spaceId,
String? pageId,
String? blogPostId,
String? customContentId,
String? authorId,
DateTime? createdAt,
Version? version,
CustomContentBodyBulk? body,
CustomContentLinks? links}) {
return CustomContentBulk(
id: id ?? this.id,
type: type ?? this.type,
status: status ?? this.status,
title: title ?? this.title,
spaceId: spaceId ?? this.spaceId,
pageId: pageId ?? this.pageId,
blogPostId: blogPostId ?? this.blogPostId,
customContentId: customContentId ?? this.customContentId,
authorId: authorId ?? this.authorId,
createdAt: createdAt ?? this.createdAt,
version: version ?? this.version,
body: body ?? this.body,
links: links ?? this.links,
);
}