copyWithWrapped method

ChapterContentParagraphTtsNodeInputModel copyWithWrapped({
  1. Wrapped<String>? type,
  2. Wrapped<String>? text,
  3. Wrapped<String>? voiceId,
})

Implementation

ChapterContentParagraphTtsNodeInputModel copyWithWrapped(
    {Wrapped<String>? type,
    Wrapped<String>? text,
    Wrapped<String>? voiceId}) {
  return ChapterContentParagraphTtsNodeInputModel(
      type: (type != null ? type.value : this.type),
      text: (text != null ? text.value : this.text),
      voiceId: (voiceId != null ? voiceId.value : this.voiceId));
}