paymentConsentPeriodicAlignmentListToJson function
List<String>
paymentConsentPeriodicAlignmentListToJson(
- List<
PaymentConsentPeriodicAlignment> ? paymentConsentPeriodicAlignment
Implementation
List<String> paymentConsentPeriodicAlignmentListToJson(
List<enums.PaymentConsentPeriodicAlignment>?
paymentConsentPeriodicAlignment) {
if (paymentConsentPeriodicAlignment == null) {
return [];
}
return paymentConsentPeriodicAlignment
.map((e) => enums.$PaymentConsentPeriodicAlignmentMap[e]!)
.toList();
}