Name property

String get Name

Implementation

String get Name {
  XmlEvent event = _current!;
  if (event is XmlStartElementEvent) {
    return event.name;
  } else if (event is XmlEndElementEvent) {
    return event.name;
  } else {
    throw ArgumentException("Can't retrieve Name for $event");
  }
}