toTrace method Null safety
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));
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));