copyWith method

ToolCallOutcome copyWith({
  1. bool? ok,
  2. String? summary,
})

Implementation

ToolCallOutcome copyWith({bool? ok, String? summary}) {
  return ToolCallOutcome.fromTrusted(
    ok: ok ?? this.ok,
    summary: summary ?? this.summary,
  );
}