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));