v1SpeechToSpeechVoiceIdStreamPostOutputFormatFromJson function

V1SpeechToSpeechVoiceIdStreamPostOutputFormat v1SpeechToSpeechVoiceIdStreamPostOutputFormatFromJson(
  1. Object? v1SpeechToSpeechVoiceIdStreamPostOutputFormat, [
  2. V1SpeechToSpeechVoiceIdStreamPostOutputFormat? defaultValue
])

Implementation

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