factory SpeechConfig.fromJson(Map<String, dynamic> json) { return SpeechConfig( voiceConfig: decode(json['voiceConfig'], VoiceConfig.fromJson), ); }