CopyPageRequest constructor

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

Implementation

CopyPageRequest(
    {bool? copyAttachments,
    bool? copyPermissions,
    bool? copyProperties,
    bool? copyLabels,
    bool? copyCustomContents,
    required this.destination,
    this.pageTitle,
    this.body})
    : copyAttachments = copyAttachments ?? false,
      copyPermissions = copyPermissions ?? false,
      copyProperties = copyProperties ?? false,
      copyLabels = copyLabels ?? false,
      copyCustomContents = copyCustomContents ?? false;