enrichTransactionDirectionListToJson function
List<String>
enrichTransactionDirectionListToJson(
- List<
EnrichTransactionDirection> ? enrichTransactionDirection
Implementation
List<String> enrichTransactionDirectionListToJson(
List<enums.EnrichTransactionDirection>? enrichTransactionDirection) {
if (enrichTransactionDirection == null) {
return [];
}
return enrichTransactionDirection
.map((e) => enums.$EnrichTransactionDirectionMap[e]!)
.toList();
}