getText method

String getText()

Implementation

String getText() {
  if (_root == null) return '';
  final buffer = StringBuffer();
  for (final chunk in _root!.chunks()) {
    buffer.write(chunk);
  }
  return buffer.toString();
}