RealtimeTranslationSessionAudioOutput.fromJson constructor

RealtimeTranslationSessionAudioOutput.fromJson(
  1. Map<String, dynamic> json
)

Creates from JSON.

Implementation

factory RealtimeTranslationSessionAudioOutput.fromJson(
  Map<String, dynamic> json,
) {
  return RealtimeTranslationSessionAudioOutput(
    language: json['language'] as String?,
  );
}