transactionPaymentChannelListToJson function
List<String>
transactionPaymentChannelListToJson(
- List<
TransactionPaymentChannel> ? transactionPaymentChannel
Implementation
List<String> transactionPaymentChannelListToJson(
List<enums.TransactionPaymentChannel>? transactionPaymentChannel) {
if (transactionPaymentChannel == null) {
return [];
}
return transactionPaymentChannel
.map((e) => enums.$TransactionPaymentChannelMap[e]!)
.toList();
}