textContent

String get textContent

Get the text content of this node and all descendants

Implementation

String get textContent {
  final buffer = StringBuffer();
  _collectText(this, buffer);
  return buffer.toString();
}