attributeIs method

TagQuery attributeIs(
  1. String attr,
  2. String value
)

Require that matched nodes have attribute attr with value value.

Implementation

TagQuery attributeIs(String attr, String value) => where((n) => n.attributes[attr] == value);