paymentConsentPeriodicIntervalNullableListFromJson function
List<PaymentConsentPeriodicInterval> ?
paymentConsentPeriodicIntervalNullableListFromJson(
- List? paymentConsentPeriodicInterval, [
- List<
PaymentConsentPeriodicInterval> ? defaultValue
Implementation
List<enums.PaymentConsentPeriodicInterval>?
paymentConsentPeriodicIntervalNullableListFromJson(
List? paymentConsentPeriodicInterval, [
List<enums.PaymentConsentPeriodicInterval>? defaultValue,
]) {
if (paymentConsentPeriodicInterval == null) {
return defaultValue;
}
return paymentConsentPeriodicInterval
.map((e) => paymentConsentPeriodicIntervalFromJson(e.toString()))
.toList();
}