watchlistScreeningDocumentTypeListToJson function
List<String>
watchlistScreeningDocumentTypeListToJson(
- List<
WatchlistScreeningDocumentType> ? watchlistScreeningDocumentType
Implementation
List<String> watchlistScreeningDocumentTypeListToJson(
List<enums.WatchlistScreeningDocumentType>?
watchlistScreeningDocumentType) {
if (watchlistScreeningDocumentType == null) {
return [];
}
return watchlistScreeningDocumentType
.map((e) => enums.$WatchlistScreeningDocumentTypeMap[e]!)
.toList();
}