SpeechToTextResponseUpdate.fromText constructor
SpeechToTextResponseUpdate.fromText(
- SpeechToTextResponseUpdateKind kind,
- String text
Creates an update from a text string.
Implementation
SpeechToTextResponseUpdate.fromText(
this.kind,
String text,
) : contents = [TextContent(text)],
startTime = null,
endTime = null,
responseId = null,
modelId = null,
rawRepresentation = null,
additionalProperties = null,
usage = null;