copyWithWrapped method

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

Implementation

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