root property
LogSpan
get
root
Returns the root span of the tree.
Returns self if this span has no parent.
Implementation
LogSpan get root {
var current = this;
while (current._parent != null) {
current = current._parent!;
}
return current;
}