bankTransferEventListDirectionListToJson function
List<String>
bankTransferEventListDirectionListToJson(
- List<
BankTransferEventListDirection> ? bankTransferEventListDirection
Implementation
List<String> bankTransferEventListDirectionListToJson(
List<enums.BankTransferEventListDirection>?
bankTransferEventListDirection) {
if (bankTransferEventListDirection == null) {
return [];
}
return bankTransferEventListDirection
.map((e) => enums.$BankTransferEventListDirectionMap[e]!)
.toList();
}