individualWatchlistCodeListFromJson function
List<IndividualWatchlistCode>
individualWatchlistCodeListFromJson(
- List? individualWatchlistCode, [
- List<
IndividualWatchlistCode> ? defaultValue
Implementation
List<enums.IndividualWatchlistCode> individualWatchlistCodeListFromJson(
List? individualWatchlistCode, [
List<enums.IndividualWatchlistCode>? defaultValue,
]) {
if (individualWatchlistCode == null) {
return defaultValue ?? [];
}
return individualWatchlistCode
.map((e) => individualWatchlistCodeFromJson(e.toString()))
.toList();
}