attributeFor

Retrieves the attribute value associated with the given key.

Return

The value of the attribute associated with the given key, or null if the key is empty or does not exist.

Parameters

key

The key of the attribute to retrieve. Should not be empty.