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