AppAudioProcessingConfigSynthesizeSpeechConfig.fromMap constructor
AppAudioProcessingConfigSynthesizeSpeechConfig.fromMap(
- Map<String, dynamic> map
)
Implementation
factory AppAudioProcessingConfigSynthesizeSpeechConfig.fromMap(Map<String, dynamic> map) {
return AppAudioProcessingConfigSynthesizeSpeechConfig(
languageCode: pulumi.Input.fromValue(map['languageCode'] as String),
speakingRate: (() { final guardedValue = map['speakingRate']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toDouble()); })(),
voice: (() { final guardedValue = map['voice']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}