OpenAIAudioModel class final
This class is responsible for handling all audio requests, such as creating a transcription or translation for a given audio file.
- Annotations
-
- @immutable
Constructors
- OpenAIAudioModel({required String text})
-
This class is responsible for handling all audio requests, such as creating a transcription or translation for a given audio file.
const
-
OpenAIAudioModel.fromMap(Map<
String, dynamic> json) -
This is used to convert a Map<String, dynamic> object to a OpenAIAudioModel object.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - This method used to convert the OpenAIAudioModel to a Map<String, dynamic> object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override