TranscriptionResponseFormat enum

The response format for transcription.

Inheritance
Available extensions

Values

json → const TranscriptionResponseFormat

JSON format with just the text.

const TranscriptionResponseFormat._('json')
text → const TranscriptionResponseFormat

Plain text format.

const TranscriptionResponseFormat._('text')
srt → const TranscriptionResponseFormat

SubRip subtitle format.

const TranscriptionResponseFormat._('srt')
verboseJson → const TranscriptionResponseFormat

Verbose JSON with timestamps and metadata.

const TranscriptionResponseFormat._('verbose_json')
vtt → const TranscriptionResponseFormat

WebVTT subtitle format.

const TranscriptionResponseFormat._('vtt')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts to JSON string.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<TranscriptionResponseFormat>
A constant List of the values in this enum, in order of their declaration.