homeownerConsentActionDTOListToJson function
- List<
HomeownerConsentActionDTO> ? homeownerConsentActionDTO
Implementation
List<String> homeownerConsentActionDTOListToJson(
List<enums.HomeownerConsentActionDTO>? homeownerConsentActionDTO) {
if (homeownerConsentActionDTO == null) {
return [];
}
return homeownerConsentActionDTO.map((e) => e.value!).toList();
}