v1TextToSpeechVoiceIdPostOutputFormatListToJson function
List<String>
v1TextToSpeechVoiceIdPostOutputFormatListToJson(
- List<
V1TextToSpeechVoiceIdPostOutputFormat> ? v1TextToSpeechVoiceIdPostOutputFormat
Implementation
List<String> v1TextToSpeechVoiceIdPostOutputFormatListToJson(
List<enums.V1TextToSpeechVoiceIdPostOutputFormat>?
v1TextToSpeechVoiceIdPostOutputFormat) {
if (v1TextToSpeechVoiceIdPostOutputFormat == null) {
return [];
}
return v1TextToSpeechVoiceIdPostOutputFormat.map((e) => e.value!).toList();
}