getAttribute method

TreeElement? getAttribute(
  1. String? namespace,
  2. String name
)

The attribute called name in namespace (any namespace if null).

Implementation

TreeElement? getAttribute(String? namespace, String name) =>
    _findAttribute(_attributes, namespace, name);