DOMNode constructor

DOMNode({
  1. dynamic content,
})

Implementation

DOMNode({content}) : allowContent = true {
  if (content != null) {
    _content = DOMNode.parseNodes(content);
    _setChildrenParent();
  }
}