homeownerConsentActionDTOListFromJson function
- List? homeownerConsentActionDTO, [
- List<
HomeownerConsentActionDTO> ? defaultValue
Implementation
List<enums.HomeownerConsentActionDTO> homeownerConsentActionDTOListFromJson(
List? homeownerConsentActionDTO, [
List<enums.HomeownerConsentActionDTO>? defaultValue,
]) {
if (homeownerConsentActionDTO == null) {
return defaultValue ?? [];
}
return homeownerConsentActionDTO
.map((e) => homeownerConsentActionDTOFromJson(e.toString()))
.toList();
}