bankTransferDirectionListFromJson function

List<BankTransferDirection> bankTransferDirectionListFromJson(
  1. List? bankTransferDirection
)

Implementation

List<enums.BankTransferDirection> bankTransferDirectionListFromJson(
    List? bankTransferDirection) {
  if (bankTransferDirection == null) {
    return [];
  }

  return bankTransferDirection
      .map((e) => bankTransferDirectionFromJson(e.toString()))
      .toList();
}