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

InMemoryBootAuditStorage()

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, or null if 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 value under key, overwriting any previous value.
override

Operators

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