SendAndSaveCopyWithWellKnownFolder method

  1. @override
Future<CalendarActionResults> SendAndSaveCopyWithWellKnownFolder(
  1. WellKnownFolderName destinationFolderName
)
override
Sends this response and saves a copy in the specified folder. Calling this method results in a call to EWS. The name of the folder in which to save the copy of the message.

Implementation

@override
Future<CalendarActionResults> SendAndSaveCopyWithWellKnownFolder(
  WellKnownFolderName destinationFolderName,
) async {
  return CalendarActionResults(
    await InternalCreate(
      FolderId.fromWellKnownFolder(destinationFolderName),
      MessageDisposition.SendAndSaveCopy,
    ),
  );
}