v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatFromJson function

V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatFromJson(
  1. Object? v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat, [
  2. V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat? defaultValue
])

Implementation

enums.V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat
    v1TextToSpeechVoiceIdWithTimestampsPostOutputFormatFromJson(
  Object? v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat, [
  enums.V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat? defaultValue,
]) {
  return enums.V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat.values
          .firstWhereOrNull((e) =>
              e.value == v1TextToSpeechVoiceIdWithTimestampsPostOutputFormat) ??
      defaultValue ??
      enums.V1TextToSpeechVoiceIdWithTimestampsPostOutputFormat
          .swaggerGeneratedUnknown;
}