AuditLog class
A bounded, in-memory audit log of Hub security events.
Stage 1 keeps the most recent capacity records in memory; later stages can add pluggable sinks (file, syslog, SIEM) behind the same append API.
Constructors
Properties
- capacity → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
records
→ List<
AuditRecord> -
The retained records, oldest first.
no setter
- 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
-
record(
String action, {String? principal, Map< String, dynamic> detail = const {}}) → void - Appends an event.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited