transactionCodeListFromJson function

List<TransactionCode> transactionCodeListFromJson(
  1. List? transactionCode
)

Implementation

List<enums.TransactionCode> transactionCodeListFromJson(List? transactionCode) {
  if (transactionCode == null) {
    return [];
  }

  return transactionCode
      .map((e) => transactionCodeFromJson(e.toString()))
      .toList();
}