loanIdentifierTypeListFromJson function
List<LoanIdentifierType>
loanIdentifierTypeListFromJson(
- List? loanIdentifierType, [
- List<
LoanIdentifierType> ? defaultValue
Implementation
List<enums.LoanIdentifierType> loanIdentifierTypeListFromJson(
List? loanIdentifierType, [
List<enums.LoanIdentifierType>? defaultValue,
]) {
if (loanIdentifierType == null) {
return defaultValue ?? [];
}
return loanIdentifierType
.map((e) => loanIdentifierTypeFromJson(e.toString()))
.toList();
}