Chain constructor Null safety

Chain(
  1. Iterable<Trace> traces
)

Returns a new Chain comprised of traces.

Implementation

Chain(Iterable<Trace> traces) : traces = List<Trace>.unmodifiable(traces);