attr method

String attr (
  1. Element e,
  2. String attribute
)

Implementation

String attr(Element e,String attribute) => e.attributes[attribute];