hasAttribute method
Returns true
if the attribute with the specified name exists.
Implementation
bool hasAttribute(Attribute type) {
return attributes[type.name] != null;
}
Returns true
if the attribute with the specified name exists.
bool hasAttribute(Attribute type) {
return attributes[type.name] != null;
}