copyWithWrapped method

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

Implementation

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