Gets the next sibling of child, or null if last.
child
LogSpan? nextSiblingOf(LogSpan child) { final idx = _children.indexOf(child); return idx >= 0 && idx < _children.length - 1 ? _children[idx + 1] : null; }