generateFromHTML method
T?
generateFromHTML(
- String htmlRoot, {
- DOMTreeMap<
T> ? treeMap, - DOMElement? domParent,
- T? parent,
- DOMContext<
T> ? context, - bool finalizeTree = true,
- 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);