TaskUpdateTool constructor

TaskUpdateTool({
  1. TaskStore? taskStore,
  2. bool isEnabled = true,
  3. bool agentSwarmsEnabled = false,
  4. String? agentName,
  5. String? agentId,
  6. String? agentColor,
  7. String? teamName,
  8. WriteToMailboxFn? writeToMailbox,
  9. ExecuteTaskCompletedHooksFn? executeHooks,
  10. bool verificationEnabled = false,
  11. void onExpandTaskView()?,
})

Implementation

TaskUpdateTool({
  TaskStore? taskStore,
  bool isEnabled = true,
  bool agentSwarmsEnabled = false,
  String? agentName,
  String? agentId,
  String? agentColor,
  String? teamName,
  WriteToMailboxFn? writeToMailbox,
  ExecuteTaskCompletedHooksFn? executeHooks,
  bool verificationEnabled = false,
  this.onExpandTaskView,
}) : _taskStore = taskStore ?? InMemoryTaskStore(),
     _isEnabled = isEnabled,
     _agentSwarmsEnabled = agentSwarmsEnabled,
     _agentName = agentName,
     _agentId = agentId,
     _agentColor = agentColor,
     _teamName = teamName,
     _writeToMailbox = writeToMailbox,
     _executeHooks = executeHooks,
     _verificationEnabled = verificationEnabled;