AgentAuditLog constructor

AgentAuditLog({
  1. Duration retention = defaultRetention,
  2. DateTime clock()?,
})

Implementation

AgentAuditLog({
  Duration retention = defaultRetention,
  DateTime Function()? clock,
}) : _retention = retention,
     clock = clock ?? (() => DateTime.now().toUtc());