CopyPageHierarchyRequest constructor

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

Implementation

CopyPageHierarchyRequest(
    {bool? copyAttachments,
    bool? copyPermissions,
    bool? copyProperties,
    bool? copyLabels,
    bool? copyCustomContents,
    bool? copyDescendants,
    required this.destinationPageId,
    this.titleOptions})
    : copyAttachments = copyAttachments ?? false,
      copyPermissions = copyPermissions ?? false,
      copyProperties = copyProperties ?? false,
      copyLabels = copyLabels ?? false,
      copyCustomContents = copyCustomContents ?? false,
      copyDescendants = copyDescendants ?? false;