recurringTransactionFrequencyNullableListFromJson function
List<RecurringTransactionFrequency> ?
recurringTransactionFrequencyNullableListFromJson(
- List? recurringTransactionFrequency, [
- List<
RecurringTransactionFrequency> ? defaultValue
Implementation
List<enums.RecurringTransactionFrequency>?
recurringTransactionFrequencyNullableListFromJson(
List? recurringTransactionFrequency, [
List<enums.RecurringTransactionFrequency>? defaultValue,
]) {
if (recurringTransactionFrequency == null) {
return defaultValue;
}
return recurringTransactionFrequency
.map((e) => recurringTransactionFrequencyFromJson(e.toString()))
.toList();
}