bankTransferEventListRequestDirectionListToJson function

List<String> bankTransferEventListRequestDirectionListToJson(
  1. List<BankTransferEventListRequestDirection>? bankTransferEventListRequestDirection
)

Implementation

List<String> bankTransferEventListRequestDirectionListToJson(
    List<enums.BankTransferEventListRequestDirection>?
        bankTransferEventListRequestDirection) {
  if (bankTransferEventListRequestDirection == null) {
    return [];
  }

  return bankTransferEventListRequestDirection
      .map((e) => enums.$BankTransferEventListRequestDirectionMap[e]!)
      .toList();
}