investmentTransactionSubtypeNullableListFromJson function
List<InvestmentTransactionSubtype> ?
investmentTransactionSubtypeNullableListFromJson(
- List? investmentTransactionSubtype, [
- 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();
}