terse property

Chain terse

Returns a terser version of this chain.

This calls Trace.terse on every trace in traces, and discards any trace that contain only internal frames.

This won't do anything with a raw JavaScript trace, since there's no way to determine which frames come from which Dart libraries. However, the source_map_stack_trace package can be used to convert JavaScript traces into Dart-style traces.


Chain get terse => foldFrames((_) => false, terse: true);