SendItem method

Future<void> SendItem(
  1. Item item,
  2. FolderId? savedCopyDestinationFolderId
)
Sends an item. The item. The saved copy destination folder id.

Implementation

Future<void> SendItem(Item item, FolderId? savedCopyDestinationFolderId) {
  SendItemRequest request =
      new SendItemRequest(this, ServiceErrorHandling.ThrowOnError);

  request.Items = [item];
  request.SavedCopyDestinationFolderId = savedCopyDestinationFolderId;

  return request.Execute();
}