LocalName property
String
get
LocalName
Implementation
String get LocalName {
XmlEvent event = _current!;
if (event is XmlStartElementEvent) {
return event.localName;
} else if (event is XmlEndElementEvent) {
return event.localName;
} else if (event is XmlTextEvent) {
return "#text";
} else {
throw ArgumentException("Can't retrieve LocalName for $event");
}
}