generateWithRoot method

  1. @override
T? generateWithRoot(
  1. DOMElement? domRoot,
  2. T? rootElement,
  3. List<DOMNode> nodes, {
  4. DOMTreeMap<T>? treeMap,
  5. T? rootParent,
  6. DOMContext<T>? context,
  7. bool finalizeTree = true,
  8. bool setTreeMapRoot = true,
})
override

Same as generate, but generates nodes inside a preexistent rootElement.

Implementation

@override
T? generateWithRoot(DOMElement? domRoot, T? rootElement, List<DOMNode> nodes,
        {DOMTreeMap<T>? treeMap,
        T? rootParent,
        DOMContext<T>? context,
        bool finalizeTree = true,
        bool setTreeMapRoot = true}) =>
    null;