StackTraceNJ constructor

StackTraceNJ({
  1. int skipFrames = 0,
  2. String? workingDirectory,
})

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

StackTraceNJ({int skipFrames = 0, this.workingDirectory})
    : stackTrace = core.StackTrace.current,
      _skipFrames = skipFrames + 1;