generateFromHTML method

  1. @override
T? generateFromHTML(
  1. String htmlRoot, {
  2. DOMTreeMap<T>? treeMap,
  3. DOMElement? domParent,
  4. T? parent,
  5. DOMContext<T>? context,
  6. bool finalizeTree = true,
  7. bool setTreeMapRoot = true,
})
override

Same as generate, but parses htmlRoot first.

Implementation

@override
T? generateFromHTML(String htmlRoot,
        {DOMTreeMap<T>? treeMap,
        DOMElement? domParent,
        T? parent,
        DOMContext<T>? context,
        bool finalizeTree = true,
        bool setTreeMapRoot = true}) =>
    domGenerator.generateFromHTML(htmlRoot,
        treeMap: treeMap,
        domParent: domParent,
        parent: parent,
        context: context,
        finalizeTree: finalizeTree,
        setTreeMapRoot: setTreeMapRoot);