ToolResult constructor

const ToolResult({
  1. required bool ok,
  2. Object? value,
  3. String? error,
})

Implementation

const ToolResult({required this.ok, this.value, this.error});