creditBankIncomeCategoryNullableListFromJson function
List<CreditBankIncomeCategory> ?
creditBankIncomeCategoryNullableListFromJson(
- List? creditBankIncomeCategory, [
- List<
CreditBankIncomeCategory> ? defaultValue
Implementation
List<enums.CreditBankIncomeCategory>?
creditBankIncomeCategoryNullableListFromJson(
List? creditBankIncomeCategory, [
List<enums.CreditBankIncomeCategory>? defaultValue,
]) {
if (creditBankIncomeCategory == null) {
return defaultValue;
}
return creditBankIncomeCategory
.map((e) => creditBankIncomeCategoryFromJson(e.toString()))
.toList();
}