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