copyWith method
ContentCreate
copyWith({
- String? id,
- String? title,
- String? type,
- ContentCreateSpace? space,
- ContentCreateStatus? status,
- ContentCreateContainer? container,
- List<
ContentCreateAncestorsItem> ? ancestors, - ContentCreateBody? body,
Implementation
ContentCreate copyWith(
{String? id,
String? title,
String? type,
ContentCreateSpace? space,
ContentCreateStatus? status,
ContentCreateContainer? container,
List<ContentCreateAncestorsItem>? ancestors,
ContentCreateBody? body}) {
return ContentCreate(
id: id ?? this.id,
title: title ?? this.title,
type: type ?? this.type,
space: space ?? this.space,
status: status ?? this.status,
container: container ?? this.container,
ancestors: ancestors ?? this.ancestors,
body: body ?? this.body,
);
}