paymentProfileStatusListToJson function
Implementation
List<String> paymentProfileStatusListToJson(
List<enums.PaymentProfileStatus>? paymentProfileStatus) {
if (paymentProfileStatus == null) {
return [];
}
return paymentProfileStatus
.map((e) => enums.$PaymentProfileStatusMap[e]!)
.toList();
}