child property
set
child
(LogSpan? newChild)
Sets the child span, updating parent references.
Implementation
set child(LogSpan? newChild) {
_child?._parent = null;
_child = newChild;
if (newChild != null) {
// Remove from old parent first
newChild._parent?._removeChild(newChild);
newChild._parent = this;
}
}