v1TextToSpeechVoiceIdStreamPostOutputFormatFromJson function
V1TextToSpeechVoiceIdStreamPostOutputFormat
v1TextToSpeechVoiceIdStreamPostOutputFormatFromJson(
- Object? v1TextToSpeechVoiceIdStreamPostOutputFormat, [
- V1TextToSpeechVoiceIdStreamPostOutputFormat? defaultValue
Implementation
enums.V1TextToSpeechVoiceIdStreamPostOutputFormat
v1TextToSpeechVoiceIdStreamPostOutputFormatFromJson(
Object? v1TextToSpeechVoiceIdStreamPostOutputFormat, [
enums.V1TextToSpeechVoiceIdStreamPostOutputFormat? defaultValue,
]) {
return enums.V1TextToSpeechVoiceIdStreamPostOutputFormat.values
.firstWhereOrNull(
(e) => e.value == v1TextToSpeechVoiceIdStreamPostOutputFormat) ??
defaultValue ??
enums.V1TextToSpeechVoiceIdStreamPostOutputFormat.swaggerGeneratedUnknown;
}