StubIoAuditPort class
In-memory stub for testing audit operations.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
records
→ List<
IoAuditRecord> -
Access recorded entries for test assertions.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void - Clear all recorded audit entries.
-
export(
IoAuditExportConfig config) → Future< void> -
Export audit records to an external system.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
IoAuditQuery query) → Future< List< IoAuditRecord> > -
Query audit records with filters.
override
-
record(
IoAuditRecord record) → Future< void> -
Record an audit entry. Fire-and-forget (non-blocking).
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited