TranscriptEvent class final
The TranscriptEvent
associated with a transcriptEventStream
returned from TranscribeStreamingClient.startStreamTranscription.
Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.
Constructors
- TranscriptEvent({Transcript? transcript})
-
Creates a TranscriptEvent from the given values.
const
- TranscriptEvent.fromJson(String source)
-
Creates a TranscriptEvent from the given JSON string.
factory
-
TranscriptEvent.fromMap(Map<
String, dynamic> map) -
Creates a TranscriptEvent from the given Map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transcript → Transcript?
-
Contains
Results
, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Returns the JSON string representation of this TranscriptEvent.
-
toMap(
) → Map< String, dynamic> - Returns the Map representation of this TranscriptEvent.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited