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