copyWithWrapped method
BodyCreatesAudioNativeEnabledProjectV1AudioNativePost
copyWithWrapped(
{ - Wrapped<String>? name,
- Wrapped? image,
- Wrapped? author,
- Wrapped? title,
- Wrapped<bool?>? small,
- Wrapped? textColor,
- Wrapped? backgroundColor,
- Wrapped<int?>? sessionization,
- Wrapped? voiceId,
- Wrapped? modelId,
- Wrapped<String?>? file,
- 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));
}