SpeechToTextResponse.fromText constructor
SpeechToTextResponse.fromText(
- String text
Creates a response from a text string.
Implementation
SpeechToTextResponse.fromText(String text)
: contents = [TextContent(text)],
startTime = null,
endTime = null,
responseId = null,
modelId = null,
rawRepresentation = null,
additionalProperties = null,
usage = null;