copyWith method
CodeInterpreterStepCall
copyWith({
- String? id,
- String? input,
- List<
CodeInterpreterOutput> ? outputs,
Creates a copy with the given fields replaced.
Implementation
CodeInterpreterStepCall copyWith({
String? id,
String? input,
List<CodeInterpreterOutput>? outputs,
}) {
return CodeInterpreterStepCall(
id: id ?? this.id,
input: input ?? this.input,
outputs: outputs ?? this.outputs,
);
}