copyWith method

Implementation

ContentBlueprintDraft copyWith(
    {ContentBlueprintDraftVersion? version,
    String? title,
    ContentBlueprintDraftType? type,
    ContentBlueprintDraftStatus? status,
    ContentBlueprintDraftSpace? space,
    List<ContentBlueprintDraftAncestorsItem>? ancestors}) {
  return ContentBlueprintDraft(
    version: version ?? this.version,
    title: title ?? this.title,
    type: type ?? this.type,
    status: status ?? this.status,
    space: space ?? this.space,
    ancestors: ancestors ?? this.ancestors,
  );
}