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