DVCrashStore class abstract
The handler's side and the launch's side of crash persistence.
writeSync is synchronous on purpose, and it is the whole of what a crash handler does. A handler runs in a process that is already going down; a write that awaits anything finishes after the process does.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
countCrash(
String release) → int -
Counts one more crash on this device for
releaseand returns the count. Persisted with the records, because a crash loop is a sequence of restarts, and a limit that restarts with them limits nothing. -
isSent(
String id) → bool -
markSent(
String id) → void -
Notes that
idreached the sink, before the record is removed. A process that dies between the two finds the note at the next launch and removes the record without sending it again. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pending(
) → List< DVCrashStoreEntry> - Every record left by earlier runs, oldest first.
-
remove(
String id) → void - Removes the record and its sent note.
-
toString(
) → String -
A string representation of this object.
inherited
-
writeSync(
DVCrashReport report) → void -
Writes
reportbefore returning.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited