v1SpeechToSpeechVoiceIdPostOutputFormatNullableListFromJson function
List<V1SpeechToSpeechVoiceIdPostOutputFormat> ?
v1SpeechToSpeechVoiceIdPostOutputFormatNullableListFromJson(
- List? v1SpeechToSpeechVoiceIdPostOutputFormat, [
- List<
V1SpeechToSpeechVoiceIdPostOutputFormat> ? defaultValue
Implementation
List<enums.V1SpeechToSpeechVoiceIdPostOutputFormat>?
v1SpeechToSpeechVoiceIdPostOutputFormatNullableListFromJson(
List? v1SpeechToSpeechVoiceIdPostOutputFormat, [
List<enums.V1SpeechToSpeechVoiceIdPostOutputFormat>? defaultValue,
]) {
if (v1SpeechToSpeechVoiceIdPostOutputFormat == null) {
return defaultValue;
}
return v1SpeechToSpeechVoiceIdPostOutputFormat
.map((e) => v1SpeechToSpeechVoiceIdPostOutputFormatFromJson(e.toString()))
.toList();
}