stackTrace property

String? stackTrace
final

An optional stack trace string that provides details about the error's location and state at the time of error.

This can be very helpful for debugging in production, where reading logs might be the primary way to diagnose issues.

Implementation

final String? stackTrace;