stackTraceOrNull property
The stack trace, or null if not in error state.
Implementation
StackTrace? get stackTraceOrNull => switch (this) {
AsyncError<T>(:final stackTrace) => stackTrace,
_ => null,
};
The stack trace, or null if not in error state.
StackTrace? get stackTraceOrNull => switch (this) {
AsyncError<T>(:final stackTrace) => stackTrace,
_ => null,
};