hasAttribute method

bool hasAttribute(
  1. String key
)

Checks if attribute exists.

Implementation

bool hasAttribute(String key) => _attributes.containsKey(key);