localName property

String get localName
inherited

The local name, excluding the namespace prefix.

Implementation

String get localName {
  final index = name.indexOf(XmlToken.namespace);
  return index > 0 ? name.substring(index + 1) : name;
}