SpeechToTextResponseUpdate constructor
SpeechToTextResponseUpdate({
- required SpeechToTextResponseUpdateKind kind,
- List<
AIContent> ? contents, - Duration? startTime,
- Duration? endTime,
- String? responseId,
- String? modelId,
- Object? rawRepresentation,
- AdditionalPropertiesDictionary? additionalProperties,
- UsageDetails? usage,
Creates a new SpeechToTextResponseUpdate.
Implementation
SpeechToTextResponseUpdate({
required this.kind,
List<AIContent>? contents,
this.startTime,
this.endTime,
this.responseId,
this.modelId,
this.rawRepresentation,
this.additionalProperties,
this.usage,
}) : contents = contents ?? [];