SpeechToTextResponseUpdate constructor

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

Implementation

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