GetAttachment method

Future<void> GetAttachment(
  1. Attachment attachment,
  2. BodyType? bodyType,
  3. Iterable<PropertyDefinitionBase>? additionalProperties
)
Gets an attachment. The attachment. Type of the body. The additional properties.

Implementation

Future<void> GetAttachment(
  Attachment attachment,
  BodyType? bodyType,
  Iterable<PropertyDefinitionBase>? additionalProperties,
) {
  return InternalGetAttachments(
    [attachment],
    bodyType,
    additionalProperties,
    ServiceErrorHandling.ThrowOnError,
  );
}