InternalCreate method

Future<List<Item>> InternalCreate(
  1. FolderId? destinationFolderId,
  2. MessageDisposition messageDisposition
)
Create the response object. The destination folder id. The message disposition.

Implementation

Future<List<Item>> InternalCreate(
  FolderId? destinationFolderId,
  MessageDisposition messageDisposition,
) {
  (PropertyBag[ResponseObjectSchema.ReferenceItemId] as ItemId).Assign(
    _referenceItem.Id!,
  );

  return Service.InternalCreateResponseObject(
    this,
    destinationFolderId,
    messageDisposition,
  );
}