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