SpeechToTextResponse constructor

SpeechToTextResponse({
  1. List<AIContent>? contents,
  2. Duration? startTime,
  3. Duration? endTime,
  4. String? responseId,
  5. String? modelId,
  6. Object? rawRepresentation,
  7. AdditionalPropertiesDictionary? additionalProperties,
  8. UsageDetails? usage,
})

Creates a new SpeechToTextResponse.

Implementation

SpeechToTextResponse({
  List<AIContent>? contents,
  this.startTime,
  this.endTime,
  this.responseId,
  this.modelId,
  this.rawRepresentation,
  this.additionalProperties,
  this.usage,
}) : contents = contents ?? [];