individualWatchlistCodeListToJson function
List<String>
individualWatchlistCodeListToJson(
- List<
IndividualWatchlistCode> ? individualWatchlistCode
Implementation
List<String> individualWatchlistCodeListToJson(
List<enums.IndividualWatchlistCode>? individualWatchlistCode) {
if (individualWatchlistCode == null) {
return [];
}
return individualWatchlistCode
.map((e) => enums.$IndividualWatchlistCodeMap[e]!)
.toList();
}