toTrace method Null safety
Converts this chain to a Trace.
The trace version of a chain is just the concatenation of all the traces in the chain.
Implementation
Trace toTrace() => Trace(traces.expand((trace) => trace.frames));
Converts this chain to a Trace.
The trace version of a chain is just the concatenation of all the traces in the chain.
Trace toTrace() => Trace(traces.expand((trace) => trace.frames));