v1SpeechToSpeechVoiceIdPostOutputFormatFromJson function

V1SpeechToSpeechVoiceIdPostOutputFormat v1SpeechToSpeechVoiceIdPostOutputFormatFromJson(
  1. Object? v1SpeechToSpeechVoiceIdPostOutputFormat, [
  2. V1SpeechToSpeechVoiceIdPostOutputFormat? defaultValue
])

Implementation

enums.V1SpeechToSpeechVoiceIdPostOutputFormat
    v1SpeechToSpeechVoiceIdPostOutputFormatFromJson(
  Object? v1SpeechToSpeechVoiceIdPostOutputFormat, [
  enums.V1SpeechToSpeechVoiceIdPostOutputFormat? defaultValue,
]) {
  return enums.V1SpeechToSpeechVoiceIdPostOutputFormat.values.firstWhereOrNull(
          (e) => e.value == v1SpeechToSpeechVoiceIdPostOutputFormat) ??
      defaultValue ??
      enums.V1SpeechToSpeechVoiceIdPostOutputFormat.swaggerGeneratedUnknown;
}