paymentInitiationPaymentCreateStatusListToJson function
List<String>
paymentInitiationPaymentCreateStatusListToJson(
- List<
PaymentInitiationPaymentCreateStatus> ? paymentInitiationPaymentCreateStatus
Implementation
List<String> paymentInitiationPaymentCreateStatusListToJson(
List<enums.PaymentInitiationPaymentCreateStatus>?
paymentInitiationPaymentCreateStatus) {
if (paymentInitiationPaymentCreateStatus == null) {
return [];
}
return paymentInitiationPaymentCreateStatus
.map((e) => enums.$PaymentInitiationPaymentCreateStatusMap[e]!)
.toList();
}