watchlistScreeningIndividualUpdateRequestResettableFieldListFromJson function
List<WatchlistScreeningIndividualUpdateRequestResettableField>
watchlistScreeningIndividualUpdateRequestResettableFieldListFromJson(
- List? watchlistScreeningIndividualUpdateRequestResettableField, [
- List<
WatchlistScreeningIndividualUpdateRequestResettableField> ? defaultValue
Implementation
List<enums.WatchlistScreeningIndividualUpdateRequestResettableField>
watchlistScreeningIndividualUpdateRequestResettableFieldListFromJson(
List? watchlistScreeningIndividualUpdateRequestResettableField, [
List<enums.WatchlistScreeningIndividualUpdateRequestResettableField>?
defaultValue,
]) {
if (watchlistScreeningIndividualUpdateRequestResettableField == null) {
return defaultValue ?? [];
}
return watchlistScreeningIndividualUpdateRequestResettableField
.map((e) =>
watchlistScreeningIndividualUpdateRequestResettableFieldFromJson(
e.toString()))
.toList();
}