GenerateResponse constructor

GenerateResponse({
  1. Message? message,
  2. FinishReason? finishReason,
  3. String? finishMessage,
  4. double? latencyMs,
  5. GenerationUsage? usage,
  6. dynamic custom,
  7. dynamic raw,
  8. GenerateRequest? request,
  9. Operation? operation,
  10. List<Candidate?>? candidates,
})

Implementation

GenerateResponse({
  this.message,
  this.finishReason,
  this.finishMessage,
  this.latencyMs,
  this.usage,
  this.custom,
  this.raw,
  this.request,
  this.operation,
  this.candidates,
});