stackTrace property

  1. @override
StackTrace? stackTrace
override

The stack trace at the point where this error was first thrown.

Classes which extend Error will automatically have a stack trace filled in the first time they are thrown by a throw expression.

Implementation

@override
StackTrace? get stackTrace => _stackTrace ?? super.stackTrace;
void stackTrace=(StackTrace? stackTrace)

Implementation

set stackTrace(StackTrace? stackTrace) {
  _stackTrace = stackTrace;
}