CopyWithWellKnownFolderName method

Future<Item?> CopyWithWellKnownFolderName(
  1. WellKnownFolderName destinationFolderName
)
Creates a copy of this item in the specified folder. Calling this method results in a call to EWS. The name of the folder in which to create a copy of this item.

Implementation

Future<Item?> CopyWithWellKnownFolderName(
  WellKnownFolderName destinationFolderName,
) {
  return Copy(FolderId.fromWellKnownFolder(destinationFolderName));
}