paymentAmountCurrencyNullableListFromJson function
List<PaymentAmountCurrency> ?
paymentAmountCurrencyNullableListFromJson(
- List? paymentAmountCurrency, [
- List<
PaymentAmountCurrency> ? defaultValue
Implementation
List<enums.PaymentAmountCurrency>? paymentAmountCurrencyNullableListFromJson(
List? paymentAmountCurrency, [
List<enums.PaymentAmountCurrency>? defaultValue,
]) {
if (paymentAmountCurrency == null) {
return defaultValue;
}
return paymentAmountCurrency
.map((e) => paymentAmountCurrencyFromJson(e.toString()))
.toList();
}