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