SynthesizeLongAudioRequest.fromJson constructor
SynthesizeLongAudioRequest.fromJson(
- Map json_
Implementation
SynthesizeLongAudioRequest.fromJson(core.Map json_)
: this(
audioConfig: json_.containsKey('audioConfig')
? AudioConfig.fromJson(
json_['audioConfig'] as core.Map<core.String, core.dynamic>)
: null,
input: json_.containsKey('input')
? SynthesisInput.fromJson(
json_['input'] as core.Map<core.String, core.dynamic>)
: null,
outputGcsUri: json_.containsKey('outputGcsUri')
? json_['outputGcsUri'] as core.String
: null,
voice: json_.containsKey('voice')
? VoiceSelectionParams.fromJson(
json_['voice'] as core.Map<core.String, core.dynamic>)
: null,
);