aSRInputFormatListFromJson function
List<ASRInputFormat>
aSRInputFormatListFromJson(
- List? aSRInputFormat, [
- List<
ASRInputFormat> ? defaultValue
Implementation
List<enums.ASRInputFormat> aSRInputFormatListFromJson(
List? aSRInputFormat, [
List<enums.ASRInputFormat>? defaultValue,
]) {
if (aSRInputFormat == null) {
return defaultValue ?? [];
}
return aSRInputFormat
.map((e) => aSRInputFormatFromJson(e.toString()))
.toList();
}