buildDOMAsyncElement method
T?
buildDOMAsyncElement(
- DOMElement? domParent,
- T? parent,
- DOMAsync domElement,
- DOMTreeMap<
T> treeMap, - DOMContext<
T> ? context,
Implementation
T? buildDOMAsyncElement(DOMElement? domParent, T? parent, DOMAsync domElement,
DOMTreeMap<T> treeMap, DOMContext<T>? context) {
if (domParent != null) {
domElement.parent = domParent;
}
var parsedElement = _parseExternalElement(
domParent, parent, domElement, domElement, treeMap, context);
if (parent != null && !containsNode(parent, parsedElement)) {
addChildToElement(parent, parsedElement);
}
domElement.notifyElementGenerated(parsedElement);
return parsedElement;
}