investmentTransactionSubtypeListToJson function
List<String>
investmentTransactionSubtypeListToJson(
- List<
InvestmentTransactionSubtype> ? investmentTransactionSubtype
Implementation
List<String> investmentTransactionSubtypeListToJson(
List<enums.InvestmentTransactionSubtype>? investmentTransactionSubtype) {
if (investmentTransactionSubtype == null) {
return [];
}
return investmentTransactionSubtype
.map((e) => enums.$InvestmentTransactionSubtypeMap[e]!)
.toList();
}