getRealNodeOf method
Implementation
web.Node? getRealNodeOf(DomRenderObject? after) {
if (after is DomRenderFragment) {
if (after.lastChildNode case final node?) {
return node;
} else {
return getRealNodeOf(after.previousSibling);
}
}
if (after != null) {
return after.node;
}
if (this case DomRenderFragment(isAttached: true)) {
return (parent as MultiChildDomRenderObject).getRealNodeOf(previousSibling);
}
return null;
}