AuditEvent class final

Constructors

AuditEvent({required String id, required String occurredAt, String? projectId, required AuditActor actor, required String action, required AuditEventResource resource, required AuditEventOutcome outcome, required String requestId, String? idempotencyKey, required Map<String, Object?> details})
const
AuditEvent.fromJson(Map<String, Object?> json)
factory

Properties

action → String
Closed action enum generated from the endpoint catalog, e.g. project.create.
final
actor → AuditActor
final
details → Map<String, Object?>
Action-specific payload; never secrets or full end-user records.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Audit event ID, audit_event_{ulid}.
final
idempotencyKey → String?
The mutation’s Idempotency-Key; null when none applied.
final
occurredAt → String
RFC 3339 UTC timestamp with six fractional digits, e.g. 2026-08-17T09:30:00.000000Z
final
outcome → AuditEventOutcome
What happened.
final
projectId → String?
Project the event belongs to; null for organization-level events.
final
requestId → String
Correlates to FFX-Request-Id.
final
resource → AuditEventResource
final
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
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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