investmentTransactionTypeNullableListFromJson function
List<InvestmentTransactionType> ?
investmentTransactionTypeNullableListFromJson(
- List? investmentTransactionType, [
- List<
InvestmentTransactionType> ? defaultValue
Implementation
List<enums.InvestmentTransactionType>?
investmentTransactionTypeNullableListFromJson(
List? investmentTransactionType, [
List<enums.InvestmentTransactionType>? defaultValue,
]) {
if (investmentTransactionType == null) {
return defaultValue;
}
return investmentTransactionType
.map((e) => investmentTransactionTypeFromJson(e.toString()))
.toList();
}