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