entity

abstract fun entity(id: Any): Entity?

Gets the identified attachment as an entity, if the attachment with that identifier exists.

Return

Attachment Entity