Value property

String get Value

The text value of the current node (empty for non-text nodes), like .NET XmlReader.Value.

Implementation

String get Value {
  final current = _current;
  return current is XmlTextEvent ? _htmlUnescape.convert(current.value) : "";
}