copyWith method

CopyPageHierarchyRequest copyWith({
  1. bool? copyAttachments,
  2. bool? copyPermissions,
  3. bool? copyProperties,
  4. bool? copyLabels,
  5. bool? copyCustomContents,
  6. bool? copyDescendants,
  7. String? destinationPageId,
  8. CopyPageHierarchyTitleOptions? titleOptions,
})

Implementation

CopyPageHierarchyRequest copyWith(
    {bool? copyAttachments,
    bool? copyPermissions,
    bool? copyProperties,
    bool? copyLabels,
    bool? copyCustomContents,
    bool? copyDescendants,
    String? destinationPageId,
    CopyPageHierarchyTitleOptions? titleOptions}) {
  return CopyPageHierarchyRequest(
    copyAttachments: copyAttachments ?? this.copyAttachments,
    copyPermissions: copyPermissions ?? this.copyPermissions,
    copyProperties: copyProperties ?? this.copyProperties,
    copyLabels: copyLabels ?? this.copyLabels,
    copyCustomContents: copyCustomContents ?? this.copyCustomContents,
    copyDescendants: copyDescendants ?? this.copyDescendants,
    destinationPageId: destinationPageId ?? this.destinationPageId,
    titleOptions: titleOptions ?? this.titleOptions,
  );
}