copyWithWrapped method
BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost
copyWithWrapped({
- Wrapped<
BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender> ? gender, - Wrapped<
String> ? accent, - Wrapped<
BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge> ? age, - Wrapped<
double> ? accentStrength, - Wrapped<
String> ? text,
Implementation
BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost copyWithWrapped(
{Wrapped<
enums
.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender>?
gender,
Wrapped<String>? accent,
Wrapped<
enums
.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge>?
age,
Wrapped<double>? accentStrength,
Wrapped<String>? text}) {
return BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost(
gender: (gender != null ? gender.value : this.gender),
accent: (accent != null ? accent.value : this.accent),
age: (age != null ? age.value : this.age),
accentStrength: (accentStrength != null
? accentStrength.value
: this.accentStrength),
text: (text != null ? text.value : this.text));
}