getPaymentNetworksConcatenated function
Implementation
String getPaymentNetworksConcatenated(List<PaymentSDKNetworks>? list) {
if (list == null || list.isEmpty) return "";
String networkStr = "";
for (var apm in list) {
if (networkStr != "") {
networkStr += ",";
}
networkStr += "${apm.name}";
}
return networkStr;
}