copyWithWrapped method

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

Implementation

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