copyWith method

ContentUpdateBody copyWith({
  1. ContentBodyCreate? view,
  2. ContentBodyCreate? exportView,
  3. ContentBodyCreate? styledView,
  4. ContentBodyCreateStorage? storage,
  5. ContentBodyCreate? editor,
  6. ContentBodyCreate? editor2,
  7. ContentBodyCreate? wiki,
  8. ContentBodyCreate? atlasDocFormat,
  9. ContentBodyCreate? anonymousExportView,
})

Implementation

ContentUpdateBody copyWith(
    {ContentBodyCreate? view,
    ContentBodyCreate? exportView,
    ContentBodyCreate? styledView,
    ContentBodyCreateStorage? storage,
    ContentBodyCreate? editor,
    ContentBodyCreate? editor2,
    ContentBodyCreate? wiki,
    ContentBodyCreate? atlasDocFormat,
    ContentBodyCreate? anonymousExportView}) {
  return ContentUpdateBody(
    view: view ?? this.view,
    exportView: exportView ?? this.exportView,
    styledView: styledView ?? this.styledView,
    storage: storage ?? this.storage,
    editor: editor ?? this.editor,
    editor2: editor2 ?? this.editor2,
    wiki: wiki ?? this.wiki,
    atlasDocFormat: atlasDocFormat ?? this.atlasDocFormat,
    anonymousExportView: anonymousExportView ?? this.anonymousExportView,
  );
}