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