watchlistScreeningStatusListFromJson function
List<WatchlistScreeningStatus>
watchlistScreeningStatusListFromJson(
- List? watchlistScreeningStatus, [
- List<
WatchlistScreeningStatus> ? defaultValue
Implementation
List<enums.WatchlistScreeningStatus> watchlistScreeningStatusListFromJson(
List? watchlistScreeningStatus, [
List<enums.WatchlistScreeningStatus>? defaultValue,
]) {
if (watchlistScreeningStatus == null) {
return defaultValue ?? [];
}
return watchlistScreeningStatus
.map((e) => watchlistScreeningStatusFromJson(e.toString()))
.toList();
}