GoogleCloudAiplatformV1SpeechConfig.fromJson constructor

GoogleCloudAiplatformV1SpeechConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1SpeechConfig.fromJson(core.Map json_)
  : this(
      languageCode: json_['languageCode'] as core.String?,
      multiSpeakerVoiceConfig: json_.containsKey('multiSpeakerVoiceConfig')
          ? GoogleCloudAiplatformV1MultiSpeakerVoiceConfig.fromJson(
              json_['multiSpeakerVoiceConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      voiceConfig: json_.containsKey('voiceConfig')
          ? GoogleCloudAiplatformV1VoiceConfig.fromJson(
              json_['voiceConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );