errorAndStackTraceOrNull property

ErrorAndStackTrace? errorAndStackTraceOrNull

Returns the last emitted ErrorAndStackTrace, or null if no error events have been emitted yet.

Implementation

ErrorAndStackTrace? get errorAndStackTraceOrNull {
  final error = errorOrNull;
  return error == null ? null : ErrorAndStackTrace(error, stackTrace);
}