WhisperTranscribeResponse class
- Available extensions
- Annotations
-
- @unfreezed
Constructors
-
WhisperTranscribeResponse({@JsonKey.new(name: '@type') required String type, required String text, @JsonKey.new(name: 'segments') required List<
WhisperTranscribeSegment> ? segments}) -
factory
-
WhisperTranscribeResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
allWords
→ List<
TimestampedWord> -
Available on WhisperTranscribeResponse, provided by the TimestampExtension extension
Get all words with timestamps.no setter -
copyWith
→ $WhisperTranscribeResponseCopyWith<
WhisperTranscribeResponse> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
↔ List<
WhisperTranscribeSegment> ? -
getter/setter pairinherited
- text ↔ String
-
getter/setter pairinherited
-
timestampedSegments
→ List<
TimestampedSegment> -
Available on WhisperTranscribeResponse, provided by the TimestampExtension extension
Get all segments with word-level timestamps.no setter - type ↔ String
-
getter/setter pairinherited
Methods
-
exportAs(
ExportFormat format) → String -
Available on WhisperTranscribeResponse, provided by the TranscriptionExportExtension extension
Export to any supported format. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonFormat(
) → String -
Available on WhisperTranscribeResponse, provided by the TranscriptionExportExtension extension
Export to JSON format. -
toPlainText(
) → String -
Available on WhisperTranscribeResponse, provided by the TranscriptionExportExtension extension
Export to plain text. -
toSrt(
) → String -
Available on WhisperTranscribeResponse, provided by the TranscriptionExportExtension extension
Export to SRT format. -
toString(
) → String -
A string representation of this object.
inherited
-
toVtt(
) → String -
Available on WhisperTranscribeResponse, provided by the TranscriptionExportExtension extension
Export to VTT format. -
wordAt(
Duration time) → TimestampedWord? -
Available on WhisperTranscribeResponse, provided by the TimestampExtension extension
Get the word at a specific time.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited