watchlistScreeningStatusListToJson function
List<String>
watchlistScreeningStatusListToJson(
- List<
WatchlistScreeningStatus> ? watchlistScreeningStatus
Implementation
List<String> watchlistScreeningStatusListToJson(
List<enums.WatchlistScreeningStatus>? watchlistScreeningStatus) {
if (watchlistScreeningStatus == null) {
return [];
}
return watchlistScreeningStatus
.map((e) => enums.$WatchlistScreeningStatusMap[e]!)
.toList();
}