child method

Span child(
  1. String name
)

Starts a child span of this one, in the same trace.

Implementation

Span child(String name) => Span(
      name: name,
      context: context.child(),
      parentSpanId: context.spanId,
    );