CompletionsResponse constructor

CompletionsResponse({
  1. required String id,
  2. required String object,
  3. required int created,
  4. required List<Choice> choices,
  5. required Usage usage,
})

Creates a new CompletionsResponse instance.

Implementation

CompletionsResponse({
  required this.id,
  required this.object,
  required this.created,
  required this.choices,
  required this.usage,
});