transactionFrequencyNullableListFromJson function
List<TransactionFrequency> ?
transactionFrequencyNullableListFromJson(
- List? transactionFrequency, [
- List<
TransactionFrequency> ? defaultValue
Implementation
List<enums.TransactionFrequency>? transactionFrequencyNullableListFromJson(
List? transactionFrequency, [
List<enums.TransactionFrequency>? defaultValue,
]) {
if (transactionFrequency == null) {
return defaultValue;
}
return transactionFrequency
.map((e) => transactionFrequencyFromJson(e.toString()))
.toList();
}