stackTrace property

  1. @override
StackTrace? get stackTrace
override

The stack trace Error requires, sourced from the tracking field this type already carries. Null when tracking was off, which is what the SDK reports for an error that was never thrown through a zone that captured one.

Implementation

@override
StackTrace? get stackTrace => trackedStackTrace;