copyWith method

Implementation

BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost copyWith(
    {enums.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender?
        gender,
    String? accent,
    enums.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge? age,
    double? accentStrength,
    String? text}) {
  return BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePost(
      gender: gender ?? this.gender,
      accent: accent ?? this.accent,
      age: age ?? this.age,
      accentStrength: accentStrength ?? this.accentStrength,
      text: text ?? this.text);
}