recurringTransactionFrequencyListToJson function
List<String>
recurringTransactionFrequencyListToJson(
- List<
RecurringTransactionFrequency> ? recurringTransactionFrequency
Implementation
List<String> recurringTransactionFrequencyListToJson(
List<enums.RecurringTransactionFrequency>? recurringTransactionFrequency) {
if (recurringTransactionFrequency == null) {
return [];
}
return recurringTransactionFrequency
.map((e) => enums.$RecurringTransactionFrequencyMap[e]!)
.toList();
}