public fun getAttachmentsFromUris(uris: List<Uri>): List<Attachment> { return getAttachmentsMetadataFromUris(uris).let(::getAttachmentsFromMetaData) }
Takes a list of file Uris and transforms them into a list of [Attachment]s so that we can upload them.