RecoveryState class

Information about a recovered crash, passed to the recovery screen.

Constructors

RecoveryState({required Object error, required StackTrace stackTrace, required ErrorFingerprint fingerprint, required ErrorSeverity severity, AppSnapshot? lastSnapshot, bool isInCrashLoop = false})
const

Properties

error Object
The error that caused the crash.
final
fingerprint ErrorFingerprint
The error's fingerprint (for deduplication/tracking).
final
hashCode int
The hash code for this object.
no setterinherited
isInCrashLoop bool
Whether the app is in a crash loop (3+ crashes in 60s).
final
lastSnapshot AppSnapshot?
The last saved snapshot, if available.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity ErrorSeverity
The classified severity.
final
stackTrace StackTrace
The stack trace at the time of crash.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited