Trace constructor Null safety
Returns a new Trace comprised of frames
.
Implementation
Trace(Iterable<Frame> frames, {String? original})
: frames = List<Frame>.unmodifiable(frames),
original = StackTrace.fromString(original ?? '');
Returns a new Trace comprised of frames
.
Trace(Iterable<Frame> frames, {String? original})
: frames = List<Frame>.unmodifiable(frames),
original = StackTrace.fromString(original ?? '');