copyWith method

DialogueInput copyWith({
  1. String? text,
  2. String? voiceId,
})

Implementation

DialogueInput copyWith({String? text, String? voiceId}) {
  return DialogueInput(
      text: text ?? this.text, voiceId: voiceId ?? this.voiceId);
}