investmentTransactionTypeListToJson function
List<String>
investmentTransactionTypeListToJson(
- List<
InvestmentTransactionType> ? investmentTransactionType
Implementation
List<String> investmentTransactionTypeListToJson(
List<enums.InvestmentTransactionType>? investmentTransactionType) {
if (investmentTransactionType == null) {
return [];
}
return investmentTransactionType
.map((e) => enums.$InvestmentTransactionTypeMap[e]!)
.toList();
}