GptTranslationObject class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

GptTranslationObject({required String text, String? duration, String? language, List<TranscriptionSegment>? segments, List<TranscriptionWord>? words})
GptTranslationObject.fromJson(Map<String, dynamic> json)
factory

Properties

duration String?
The duration of the input audio.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
language String?
The language of the input audio.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<TranscriptionSegment>?
Segments of the transcribed text and their corresponding details.
getter/setter pair
text String
The transcribed text.
getter/setter pair
words List<TranscriptionWord>?
Extracted words and their corresponding timestamps.
getter/setter pair

Methods

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

Operators

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