copyWith method

ContentExpandable copyWith({
  1. String? childTypes,
  2. String? container,
  3. String? metadata,
  4. String? operations,
  5. String? children,
  6. String? restrictions,
  7. String? history,
  8. String? ancestors,
  9. String? body,
  10. String? version,
  11. String? descendants,
  12. String? space,
  13. String? extensions,
  14. String? schedulePublishDate,
  15. String? schedulePublishInfo,
  16. String? macroRenderedOutput,
})

Implementation

ContentExpandable copyWith(
    {String? childTypes,
    String? container,
    String? metadata,
    String? operations,
    String? children,
    String? restrictions,
    String? history,
    String? ancestors,
    String? body,
    String? version,
    String? descendants,
    String? space,
    String? extensions,
    String? schedulePublishDate,
    String? schedulePublishInfo,
    String? macroRenderedOutput}) {
  return ContentExpandable(
    childTypes: childTypes ?? this.childTypes,
    container: container ?? this.container,
    metadata: metadata ?? this.metadata,
    operations: operations ?? this.operations,
    children: children ?? this.children,
    restrictions: restrictions ?? this.restrictions,
    history: history ?? this.history,
    ancestors: ancestors ?? this.ancestors,
    body: body ?? this.body,
    version: version ?? this.version,
    descendants: descendants ?? this.descendants,
    space: space ?? this.space,
    extensions: extensions ?? this.extensions,
    schedulePublishDate: schedulePublishDate ?? this.schedulePublishDate,
    schedulePublishInfo: schedulePublishInfo ?? this.schedulePublishInfo,
    macroRenderedOutput: macroRenderedOutput ?? this.macroRenderedOutput,
  );
}