Gets the index of child in this span's children.
child
Returns -1 if child is not a child of this span.
int indexOf(LogSpan child) => _children.indexOf(child);