StackTraceImpl constructor
You can suppress call frames from showing
by specifing a non-zero value for skipFrames
If the workingDirectory
is provided we will output
a full file path to the dart library.
Implementation
StackTraceImpl({int skipFrames = 0, String? workingDirectory})
: _stackTrace = core.StackTrace.current,
_skipFrames = skipFrames + 1, // always skip ourselves.
_workingDirectory = workingDirectory;