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