newTraceContext function

TraceContext? newTraceContext(
  1. String kind,
  2. String method
)

Start a root span context (client workflows). Pair with traceEnd.

Implementation

TraceContext? newTraceContext(String kind, String method) =>
    traceStart(kind, method, null);