copyWith method

CopyPageRequest copyWith({
  1. bool? copyAttachments,
  2. bool? copyPermissions,
  3. bool? copyProperties,
  4. bool? copyLabels,
  5. bool? copyCustomContents,
  6. CopyPageRequestDestination? destination,
  7. String? pageTitle,
  8. CopyPageRequestBody? body,
})

Implementation

CopyPageRequest copyWith(
    {bool? copyAttachments,
    bool? copyPermissions,
    bool? copyProperties,
    bool? copyLabels,
    bool? copyCustomContents,
    CopyPageRequestDestination? destination,
    String? pageTitle,
    CopyPageRequestBody? body}) {
  return CopyPageRequest(
    copyAttachments: copyAttachments ?? this.copyAttachments,
    copyPermissions: copyPermissions ?? this.copyPermissions,
    copyProperties: copyProperties ?? this.copyProperties,
    copyLabels: copyLabels ?? this.copyLabels,
    copyCustomContents: copyCustomContents ?? this.copyCustomContents,
    destination: destination ?? this.destination,
    pageTitle: pageTitle ?? this.pageTitle,
    body: body ?? this.body,
  );
}