RealtimeTranslationSessionAudio class
Audio configuration block for a translation session.
- Annotations
-
- @immutable
Constructors
- RealtimeTranslationSessionAudio({RealtimeTranslationSessionAudioInput? input, RealtimeTranslationSessionAudioOutput? output})
-
Creates a RealtimeTranslationSessionAudio.
const
-
RealtimeTranslationSessionAudio.fromJson(Map<
String, dynamic> json) -
Creates from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- input → RealtimeTranslationSessionAudioInput?
-
Input audio configuration.
final
- output → RealtimeTranslationSessionAudioOutput?
-
Output audio configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Object? input = unsetCopyWithValue, Object? output = unsetCopyWithValue}) → RealtimeTranslationSessionAudio - Returns a copy with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts to JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override