hasAttribute method

bool hasAttribute(
  1. String name
)

Implementation

bool hasAttribute(String name) {
  return getAttribute(name) != null;
}