copyWith method
ContentUpdate
copyWith({
- ContentUpdateVersion? version,
- String? title,
- String? type,
- ContentUpdateStatus? status,
- List<
ContentUpdateAncestorsItem> ? ancestors, - ContentUpdateBody? body,
Implementation
ContentUpdate copyWith(
{ContentUpdateVersion? version,
String? title,
String? type,
ContentUpdateStatus? status,
List<ContentUpdateAncestorsItem>? ancestors,
ContentUpdateBody? body}) {
return ContentUpdate(
version: version ?? this.version,
title: title ?? this.title,
type: type ?? this.type,
status: status ?? this.status,
ancestors: ancestors ?? this.ancestors,
body: body ?? this.body,
);
}