bodySpeechToTextV1SpeechToTextPostFileFormatListFromJson function
List<BodySpeechToTextV1SpeechToTextPostFileFormat>
bodySpeechToTextV1SpeechToTextPostFileFormatListFromJson(
- List? bodySpeechToTextV1SpeechToTextPostFileFormat, [
- List<
BodySpeechToTextV1SpeechToTextPostFileFormat> ? defaultValue
Implementation
List<enums.BodySpeechToTextV1SpeechToTextPostFileFormat>
bodySpeechToTextV1SpeechToTextPostFileFormatListFromJson(
List? bodySpeechToTextV1SpeechToTextPostFileFormat, [
List<enums.BodySpeechToTextV1SpeechToTextPostFileFormat>? defaultValue,
]) {
if (bodySpeechToTextV1SpeechToTextPostFileFormat == null) {
return defaultValue ?? [];
}
return bodySpeechToTextV1SpeechToTextPostFileFormat
.map((e) =>
bodySpeechToTextV1SpeechToTextPostFileFormatFromJson(e.toString()))
.toList();
}