copyWithWrapped method

BodyCreatesAudioNativeEnabledProjectV1AudioNativePost copyWithWrapped({
  1. Wrapped<String>? name,
  2. Wrapped? image,
  3. Wrapped? author,
  4. Wrapped? title,
  5. Wrapped<bool?>? small,
  6. Wrapped? textColor,
  7. Wrapped? backgroundColor,
  8. Wrapped<int?>? sessionization,
  9. Wrapped? voiceId,
  10. Wrapped? modelId,
  11. Wrapped<String?>? file,
  12. Wrapped<bool?>? autoConvert,
})

Implementation

BodyCreatesAudioNativeEnabledProjectV1AudioNativePost copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<dynamic>? image,
    Wrapped<dynamic>? author,
    Wrapped<dynamic>? title,
    Wrapped<bool?>? small,
    Wrapped<dynamic>? textColor,
    Wrapped<dynamic>? backgroundColor,
    Wrapped<int?>? sessionization,
    Wrapped<dynamic>? voiceId,
    Wrapped<dynamic>? modelId,
    Wrapped<String?>? file,
    Wrapped<bool?>? autoConvert}) {
  return BodyCreatesAudioNativeEnabledProjectV1AudioNativePost(
      name: (name != null ? name.value : this.name),
      image: (image != null ? image.value : this.image),
      author: (author != null ? author.value : this.author),
      title: (title != null ? title.value : this.title),
      small: (small != null ? small.value : this.small),
      textColor: (textColor != null ? textColor.value : this.textColor),
      backgroundColor: (backgroundColor != null
          ? backgroundColor.value
          : this.backgroundColor),
      sessionization: (sessionization != null
          ? sessionization.value
          : this.sessionization),
      voiceId: (voiceId != null ? voiceId.value : this.voiceId),
      modelId: (modelId != null ? modelId.value : this.modelId),
      file: (file != null ? file.value : this.file),
      autoConvert:
          (autoConvert != null ? autoConvert.value : this.autoConvert));
}