copyWithWrapped method

BodyEditVoiceV1VoicesVoiceIdEditPost copyWithWrapped({
  1. Wrapped<String>? name,
  2. Wrapped<List<String>?>? files,
  3. Wrapped<bool?>? removeBackgroundNoise,
  4. Wrapped? description,
  5. Wrapped? labels,
})

Implementation

BodyEditVoiceV1VoicesVoiceIdEditPost copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<List<String>?>? files,
    Wrapped<bool?>? removeBackgroundNoise,
    Wrapped<dynamic>? description,
    Wrapped<dynamic>? labels}) {
  return BodyEditVoiceV1VoicesVoiceIdEditPost(
      name: (name != null ? name.value : this.name),
      files: (files != null ? files.value : this.files),
      removeBackgroundNoise: (removeBackgroundNoise != null
          ? removeBackgroundNoise.value
          : this.removeBackgroundNoise),
      description:
          (description != null ? description.value : this.description),
      labels: (labels != null ? labels.value : this.labels));
}