resolveFutureElement method

Object? resolveFutureElement(
  1. DOMElement? domParent,
  2. T? parent,
  3. DOMNode domElement,
  4. T? templateElement,
  5. Object? futureResult,
  6. DOMTreeMap<T> treeMap,
  7. DOMContext<T>? context,
)

Implementation

Object? resolveFutureElement(
    DOMElement? domParent,
    T? parent,
    DOMNode domElement,
    T? templateElement,
    Object? futureResult,
    DOMTreeMap<T> treeMap,
    DOMContext<T>? context) {
  if (!canHandleExternalElement(futureResult)) {
    return _parseExternalElement(
        domParent, parent, domElement, futureResult, treeMap, context);
  }
  return futureResult;
}