init(_:)

Creates an instance that type-erases Attachmentcontent.

Declaration

@MainActor @preconcurrency init<Content>(_ content: Content) where Content : AttachmentContent