userStatedIncomeSourceFrequencyNullableListFromJson function
List<UserStatedIncomeSourceFrequency> ?
userStatedIncomeSourceFrequencyNullableListFromJson(
- List? userStatedIncomeSourceFrequency, [
- List<
UserStatedIncomeSourceFrequency> ? defaultValue
Implementation
List<enums.UserStatedIncomeSourceFrequency>?
userStatedIncomeSourceFrequencyNullableListFromJson(
List? userStatedIncomeSourceFrequency, [
List<enums.UserStatedIncomeSourceFrequency>? defaultValue,
]) {
if (userStatedIncomeSourceFrequency == null) {
return defaultValue;
}
return userStatedIncomeSourceFrequency
.map((e) => userStatedIncomeSourceFrequencyFromJson(e.toString()))
.toList();
}