TaskUpdateTool constructor
TaskUpdateTool({
- TaskStore? taskStore,
- bool isEnabled = true,
- bool agentSwarmsEnabled = false,
- String? agentName,
- String? agentId,
- String? agentColor,
- String? teamName,
- WriteToMailboxFn? writeToMailbox,
- ExecuteTaskCompletedHooksFn? executeHooks,
- bool verificationEnabled = false,
- 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;