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