copyWithWrapped method

BodySoundGenerationV1SoundGenerationPost copyWithWrapped({
  1. Wrapped<String>? text,
  2. Wrapped? durationSeconds,
  3. Wrapped? promptInfluence,
})

Implementation

BodySoundGenerationV1SoundGenerationPost copyWithWrapped(
    {Wrapped<String>? text,
    Wrapped<dynamic>? durationSeconds,
    Wrapped<dynamic>? promptInfluence}) {
  return BodySoundGenerationV1SoundGenerationPost(
      text: (text != null ? text.value : this.text),
      durationSeconds: (durationSeconds != null
          ? durationSeconds.value
          : this.durationSeconds),
      promptInfluence: (promptInfluence != null
          ? promptInfluence.value
          : this.promptInfluence));
}