getOrDefault
Retrieves the attribute value for the specified key. If not set, it returns the AttributeKey.defaultValue defined in the key.
Retrieves the attribute value for the specified key. If not set, it returns the AttributeKey.defaultValue defined in the key.