paymentScheduleIntervalListToJson function
List<String>
paymentScheduleIntervalListToJson(
- List<
PaymentScheduleInterval> ? paymentScheduleInterval
Implementation
List<String> paymentScheduleIntervalListToJson(
List<enums.PaymentScheduleInterval>? paymentScheduleInterval) {
if (paymentScheduleInterval == null) {
return [];
}
return paymentScheduleInterval
.map((e) => enums.$PaymentScheduleIntervalMap[e]!)
.toList();
}