GenerateContentResponse constructor

GenerateContentResponse({
  1. List<Candidate> candidates = const [],
  2. String modelVersion = '',
  3. Timestamp? createTime,
  4. String responseId = '',
  5. GenerateContentResponse_PromptFeedback? promptFeedback,
  6. GenerateContentResponse_UsageMetadata? usageMetadata,
})

Implementation

GenerateContentResponse({
  this.candidates = const [],
  this.modelVersion = '',
  this.createTime,
  this.responseId = '',
  this.promptFeedback,
  this.usageMetadata,
}) : super(fullyQualifiedName);