hasAttr method

  1. @override
bool hasAttr(
  1. String name
)

Returns true if the element has defined this attribute.

Implementation

@override
bool hasAttr(String name) => _element.attributes.containsKey(name);