investmentTransactionSubtypeListFromJson function

List<InvestmentTransactionSubtype> investmentTransactionSubtypeListFromJson(
  1. List? investmentTransactionSubtype
)

Implementation

List<enums.InvestmentTransactionSubtype>
    investmentTransactionSubtypeListFromJson(
        List? investmentTransactionSubtype) {
  if (investmentTransactionSubtype == null) {
    return [];
  }

  return investmentTransactionSubtype
      .map((e) => investmentTransactionSubtypeFromJson(e.toString()))
      .toList();
}