TranslationVoiceConfig.fromMap constructor

TranslationVoiceConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory TranslationVoiceConfig.fromMap(Map<String, dynamic> map) {
  return TranslationVoiceConfig(
    sttNickName: map['sttNickName'],
    llmNickName: map['llmNickName'],
    ttsNickName: map['ttsNickName'],
    sttParams: map['sttParams'],
    llmParams: map['llmParams'],
    ttsParams: map['ttsParams'],
  );
}