userStatedIncomeSourceFrequencyListToJson function
List<String>
userStatedIncomeSourceFrequencyListToJson(
- List<
UserStatedIncomeSourceFrequency> ? userStatedIncomeSourceFrequency
Implementation
List<String> userStatedIncomeSourceFrequencyListToJson(
List<enums.UserStatedIncomeSourceFrequency>?
userStatedIncomeSourceFrequency) {
if (userStatedIncomeSourceFrequency == null) {
return [];
}
return userStatedIncomeSourceFrequency
.map((e) => enums.$UserStatedIncomeSourceFrequencyMap[e]!)
.toList();
}