Response constructor
const
Response({
- bool? background,
- int? createdAt,
- ResponseError? error,
- String? id,
- IncompleteDetails? incompleteDetails,
- dynamic instructions,
- Input? input,
- int? maxOutputTokens,
- Map<
String, dynamic> ? metadata, - ChatModel? model,
- bool? parallelToolCalls,
- String? previousResponseId,
- Prompt? prompt,
- ReasoningOptions? reasoning,
- ServiceTier? serviceTier,
- String? status,
- num? temperature,
- TextFormat? text,
- ToolChoice? toolChoice,
- List<
Tool> ? tools, - num? topP,
- Truncation? truncation,
- Usage? usage,
- String? user,
- List<
ResponseItem> ? output,
Implementation
const Response(
{this.background,
this.createdAt,
this.error,
this.id,
this.incompleteDetails,
this.instructions,
this.input,
this.maxOutputTokens,
this.metadata,
this.model,
this.parallelToolCalls,
this.previousResponseId,
this.prompt,
this.reasoning,
this.serviceTier,
this.status,
this.temperature,
this.text,
this.toolChoice,
this.tools,
this.topP,
this.truncation,
this.usage,
this.user,
this.output});