public fun getAttachmentsForUpload(attachments: List<AttachmentMetaData>): List<Attachment> { return getAttachmentsFromMetaData(attachments) }
Transforms a list of [AttachmentMetaData] into a list of [Attachment]s. This is required because we need to prepare the files for upload.