paymentConsentPeriodicIntervalListToJson function
List<String>
paymentConsentPeriodicIntervalListToJson(
- List<
PaymentConsentPeriodicInterval> ? paymentConsentPeriodicInterval
Implementation
List<String> paymentConsentPeriodicIntervalListToJson(
List<enums.PaymentConsentPeriodicInterval>?
paymentConsentPeriodicInterval) {
if (paymentConsentPeriodicInterval == null) {
return [];
}
return paymentConsentPeriodicInterval
.map((e) => enums.$PaymentConsentPeriodicIntervalMap[e]!)
.toList();
}