watchlistScreeningDocumentTypeListFromJson function
List<WatchlistScreeningDocumentType>
watchlistScreeningDocumentTypeListFromJson(
- List? watchlistScreeningDocumentType, [
- List<
WatchlistScreeningDocumentType> ? defaultValue
Implementation
List<enums.WatchlistScreeningDocumentType>
watchlistScreeningDocumentTypeListFromJson(
List? watchlistScreeningDocumentType, [
List<enums.WatchlistScreeningDocumentType>? defaultValue,
]) {
if (watchlistScreeningDocumentType == null) {
return defaultValue ?? [];
}
return watchlistScreeningDocumentType
.map((e) => watchlistScreeningDocumentTypeFromJson(e.toString()))
.toList();
}