hasAttributeFromString method

bool hasAttributeFromString(
  1. String type
)
inherited

Returns true if the attribute with the specified name exists.

Implementation

bool hasAttributeFromString(String type) {
  return attributes[type] != null;
}