copyWith method

ContentCreate copyWith({
  1. String? id,
  2. String? title,
  3. String? type,
  4. ContentCreateSpace? space,
  5. ContentCreateStatus? status,
  6. ContentCreateContainer? container,
  7. List<ContentCreateAncestorsItem>? ancestors,
  8. 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,
  );
}