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