InMemoryWatchdogStorage class
In-memory default implementation of WatchdogStorage (useful for testing).
- Implemented types
Constructors
- InMemoryWatchdogStorage()
- Creates an InMemoryWatchdogStorage.
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
-
clearPatch(
String patchId) → void -
Clears stored crash records for
patchId.override -
getConsecutiveCrashes(
String patchId) → int -
Returns the consecutive crash count for the given
patchId.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConsecutiveCrashes(
String patchId, int count) → void -
Stores consecutive crash
countforpatchId.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited