startChild static method
Starts a child of the current span, or null when nothing is tracing.
The caller ends it and exports it; this only builds it, so a database layer can time a query without knowing where spans go.
Implementation
static Span? startChild(String name) => value?.child(name);