Response constructor

const Response({
  1. bool? background,
  2. int? createdAt,
  3. ResponseError? error,
  4. String? id,
  5. IncompleteDetails? incompleteDetails,
  6. dynamic instructions,
  7. Input? input,
  8. int? maxOutputTokens,
  9. Map<String, dynamic>? metadata,
  10. ChatModel? model,
  11. bool? parallelToolCalls,
  12. String? previousResponseId,
  13. Prompt? prompt,
  14. ReasoningOptions? reasoning,
  15. ServiceTier? serviceTier,
  16. String? status,
  17. num? temperature,
  18. TextFormat? text,
  19. ToolChoice? toolChoice,
  20. List<Tool>? tools,
  21. num? topP,
  22. Truncation? truncation,
  23. Usage? usage,
  24. String? user,
  25. 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});