stackTrace property Null safety

StackTrace? stackTrace
override

Returns StackTrace of the last emitted error, or null if no error added or the added error has no StackTrace.

Implementation

@override
StackTrace? get stackTrace => _wrapper.errorAndStackTrace?.stackTrace;