paymentSchemeListToJson function
Implementation
List<String> paymentSchemeListToJson(List<enums.PaymentScheme>? paymentScheme) {
if (paymentScheme == null) {
return [];
}
return paymentScheme.map((e) => enums.$PaymentSchemeMap[e]!).toList();
}