copyWith method

DialogueInputResponseModel copyWith({
  1. String? text,
  2. String? voiceId,
  3. String? voiceName,
})

Implementation

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