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