stackTrace property

StackTrace? stackTrace
final

The latest stack trace object received by the asynchronous computation.

This will not be null iff error is not null. Consequently, stackTrace will be non-null when hasError is true.

However, even when not null, stackTrace might be empty. The stack trace is empty when there is an error but no stack trace has been provided.

Implementation

final StackTrace? stackTrace;