copyWith method

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

Implementation

ContentTemplateBody copyWith(
    {ContentBody? view,
    ContentBody? exportView,
    ContentBody? styledView,
    ContentBody? storage,
    ContentBody? editor,
    ContentBody? editor2,
    ContentBody? wiki,
    ContentBody? atlasDocFormat,
    ContentBody? anonymousExportView}) {
  return ContentTemplateBody(
    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,
  );
}