GroqResponse constructor

GroqResponse({
  1. required String id,
  2. required List<GroqChoice> choices,
  3. required DateTime createdAt,
})

Creates a GroqResponse with the given id, choices and createdAt
The id is the identifier of the response
The choices are the possible responses to the prompt
The createdAt is the date and time when the response was created \

Implementation

GroqResponse({
  required this.id,
  required this.choices,
  required this.createdAt,
});