removeAllEmptyParagraphs method
- @Deprecated('This must not be used since is not used yet. It will be removed in future releases')
Removes all empty paragraphs from the document.
TODO: Deprecated due to upcoming fixes needed.
Implementation
@Deprecated('This must not be used since is not used yet. It will be removed in future releases')
Document removeAllEmptyParagraphs() {
paragraphs.removeWhere((element) => element.lines.isEmpty);
return this;
}