Document.empty constructor
Creates a empty document with a single text node.
Implementation
@Deprecated('use Document.blank() instead')
factory Document.empty() {
final root = Node(
type: 'document',
children: LinkedList<Node>()..add(TextNode.empty()),
);
return Document(
root: root,
);
}