getSiblingRuntime method

DOMNodeRuntime<T>? getSiblingRuntime(
  1. T? other
)

Implementation

DOMNodeRuntime<T>? getSiblingRuntime(T? other) {
  if (other == null || treeMap == null || !isInSameParent(other)) return null;

  var otherDomNode = treeMap!.getMappedDOMNode(other);
  return domGenerator.createDOMNodeRuntime(treeMap!, otherDomNode, other);
}