AgentLoopEvent constructor

AgentLoopEvent({
  1. required AgentLoopEventType type,
  2. required String goalId,
  3. required int iteration,
  4. dynamic data,
  5. DateTime? timestamp,
})

Implementation

AgentLoopEvent({
  required this.type,
  required this.goalId,
  required this.iteration,
  this.data,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();