creditBankIncomePayFrequencyListToJson function
List<String>
creditBankIncomePayFrequencyListToJson(
- List<
CreditBankIncomePayFrequency> ? creditBankIncomePayFrequency
Implementation
List<String> creditBankIncomePayFrequencyListToJson(
List<enums.CreditBankIncomePayFrequency>? creditBankIncomePayFrequency) {
if (creditBankIncomePayFrequency == null) {
return [];
}
return creditBankIncomePayFrequency
.map((e) => enums.$CreditBankIncomePayFrequencyMap[e]!)
.toList();
}