copyWith method

ToolUseBlock copyWith({
  1. String? id,
  2. String? name,
  3. Map<String, dynamic>? input,
  4. String? caller,
})

Implementation

ToolUseBlock copyWith({
  String? id,
  String? name,
  Map<String, dynamic>? input,
  String? caller,
}) => ToolUseBlock(
  id: id ?? this.id,
  name: name ?? this.name,
  input: input ?? this.input,
  caller: caller ?? this.caller,
);