copyWithWrapped method

BodyEditBasicProjectInfoV1ProjectsProjectIdPost copyWithWrapped({
  1. Wrapped<String>? name,
  2. Wrapped<String>? defaultTitleVoiceId,
  3. Wrapped<String>? defaultParagraphVoiceId,
  4. Wrapped? title,
  5. Wrapped? author,
  6. Wrapped? isbnNumber,
  7. Wrapped<bool?>? volumeNormalization,
})

Implementation

BodyEditBasicProjectInfoV1ProjectsProjectIdPost copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<String>? defaultTitleVoiceId,
    Wrapped<String>? defaultParagraphVoiceId,
    Wrapped<dynamic>? title,
    Wrapped<dynamic>? author,
    Wrapped<dynamic>? isbnNumber,
    Wrapped<bool?>? volumeNormalization}) {
  return BodyEditBasicProjectInfoV1ProjectsProjectIdPost(
      name: (name != null ? name.value : this.name),
      defaultTitleVoiceId: (defaultTitleVoiceId != null
          ? defaultTitleVoiceId.value
          : this.defaultTitleVoiceId),
      defaultParagraphVoiceId: (defaultParagraphVoiceId != null
          ? defaultParagraphVoiceId.value
          : this.defaultParagraphVoiceId),
      title: (title != null ? title.value : this.title),
      author: (author != null ? author.value : this.author),
      isbnNumber: (isbnNumber != null ? isbnNumber.value : this.isbnNumber),
      volumeNormalization: (volumeNormalization != null
          ? volumeNormalization.value
          : this.volumeNormalization));
}