investmentTransactionSubtypeNullableListFromJson function

List<InvestmentTransactionSubtype>? investmentTransactionSubtypeNullableListFromJson(
  1. List? investmentTransactionSubtype, [
  2. List<InvestmentTransactionSubtype>? defaultValue
])

Implementation

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

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