getAttribute method

String? getAttribute(
  1. String name, {
  2. String? namespace,
})

Implementation

String? getAttribute(String name, {String? namespace}) {
  namespace = prefixes[namespace] ?? namespace;
  return _node.getAttribute(name, namespace: namespace);
}