InMemoryBootAuditStorage class final
Process-local BootAuditStorage. Values live in a Map for the lifetime of the isolate and are lost on restart, which defeats the point of a boot audit trail — but it's the right default for tests and for non-web platforms where no persistent backend is wired yet.
- Implemented types
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → String? -
Returns the value stored under
key, ornullif absent or unreadable.override -
remove(
String key) → void -
Removes any value stored under
key. No-op if absent.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → void -
Persists
valueunderkey, overwriting any previous value.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited