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