getAttributeValue method

String? getAttributeValue(
  1. String key, {
  2. String? ns,
})

Implementation

String? getAttributeValue(String key, {String? ns}) =>
    getAttribute(key, ns: ns)?.value;