getAttribute method
Returns the product attribute matching an attribute id.
Implementation
Attribute? getAttribute(
final String attributeId,
) {
final Map<String, Attribute> attributes = getAttributes(
<String>[attributeId],
);
return attributes[attributeId];
}