stackTrace property
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 => _wrapper.errorAndStackTrace?.stackTrace;