ToolRegistration constructor

ToolRegistration({
  1. required Tool tool,
  2. required ToolCategory category,
  3. bool enabled = true,
  4. bool restricted = false,
  5. int executionCount = 0,
  6. double avgDurationMs = 0,
  7. DateTime? lastExecutedAt,
})

Implementation

ToolRegistration({
  required this.tool,
  required this.category,
  this.enabled = true,
  this.restricted = false,
  this.executionCount = 0,
  this.avgDurationMs = 0,
  this.lastExecutedAt,
});