creditBankIncomePayFrequencyListFromJson function
List<CreditBankIncomePayFrequency>
creditBankIncomePayFrequencyListFromJson(
- List? creditBankIncomePayFrequency, [
- List<
CreditBankIncomePayFrequency> ? defaultValue
Implementation
List<enums.CreditBankIncomePayFrequency>
creditBankIncomePayFrequencyListFromJson(
List? creditBankIncomePayFrequency, [
List<enums.CreditBankIncomePayFrequency>? defaultValue,
]) {
if (creditBankIncomePayFrequency == null) {
return defaultValue ?? [];
}
return creditBankIncomePayFrequency
.map((e) => creditBankIncomePayFrequencyFromJson(e.toString()))
.toList();
}