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