issuingCountryNullableListFromJson function
List<IssuingCountry> ?
issuingCountryNullableListFromJson(
- List? issuingCountry, [
- List<
IssuingCountry> ? defaultValue
Implementation
List<enums.IssuingCountry>? issuingCountryNullableListFromJson(
List? issuingCountry, [
List<enums.IssuingCountry>? defaultValue,
]) {
if (issuingCountry == null) {
return defaultValue;
}
return issuingCountry
.map((e) => issuingCountryFromJson(e.toString()))
.toList();
}