v1TextToSpeechVoiceIdStreamPostOutputFormatNullableListFromJson function
List<V1TextToSpeechVoiceIdStreamPostOutputFormat> ?
v1TextToSpeechVoiceIdStreamPostOutputFormatNullableListFromJson(
- List? v1TextToSpeechVoiceIdStreamPostOutputFormat, [
- List<
V1TextToSpeechVoiceIdStreamPostOutputFormat> ? defaultValue
Implementation
List<enums.V1TextToSpeechVoiceIdStreamPostOutputFormat>?
v1TextToSpeechVoiceIdStreamPostOutputFormatNullableListFromJson(
List? v1TextToSpeechVoiceIdStreamPostOutputFormat, [
List<enums.V1TextToSpeechVoiceIdStreamPostOutputFormat>? defaultValue,
]) {
if (v1TextToSpeechVoiceIdStreamPostOutputFormat == null) {
return defaultValue;
}
return v1TextToSpeechVoiceIdStreamPostOutputFormat
.map((e) =>
v1TextToSpeechVoiceIdStreamPostOutputFormatFromJson(e.toString()))
.toList();
}