get

operator fun <T> get(key: AttributeKey<T>): T?

Retrieves the attribute value for the specified key. If not set, it returns null.