walletTransactionStatusListToJson function
List<String>
walletTransactionStatusListToJson(
- List<
WalletTransactionStatus> ? walletTransactionStatus
Implementation
List<String> walletTransactionStatusListToJson(
List<enums.WalletTransactionStatus>? walletTransactionStatus) {
if (walletTransactionStatus == null) {
return [];
}
return walletTransactionStatus
.map((e) => enums.$WalletTransactionStatusMap[e]!)
.toList();
}