when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult codeInterpreter(
- String id,
- String type,
- @JsonKey.new(name: 'code_interpreter') RunStepDetailsToolCallsCodeObjectCodeInterpreter codeInterpreter
- required TResult fileSearch(
- String id,
- String type,
- @JsonKey.new(name: 'file_search') RunStepDetailsToolCallsFileSearch fileSearch
- required TResult function(
- String id,
- String type,
- RunStepDetailsToolCallsFunction function
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(
String id,
String type,
@JsonKey(name: 'code_interpreter')
RunStepDetailsToolCallsCodeObjectCodeInterpreter codeInterpreter)
codeInterpreter,
required TResult Function(
String id,
String type,
@JsonKey(name: 'file_search')
RunStepDetailsToolCallsFileSearch fileSearch)
fileSearch,
required TResult Function(
String id, String type, RunStepDetailsToolCallsFunction function)
function,
}) =>
throw _privateConstructorUsedError;