toPlainText method

String toPlainText()

Returns plain text representation of this document.

Implementation

String toPlainText() => _root.children.map((e) => e.toPlainText()).join('');