stackTrace property

  1. @override
StackTrace? get stackTrace
override

Returns StackTrace of the last emitted error.

If error events haven't yet been emitted, or the last emitted error didn't have a stack trace, the returned value is null.

Implementation

@override
StackTrace? get stackTrace => _subject.stackTrace;