Make your part with rounded edges normally thru normal Part Modeling.
Before exporting to STL, switch to Mesh Design mode.
Select your part in the hierarchy, then go to
Meshes > Create mesh from shape...
Change the Fineness from Moderate to Very Fine.
Click on the resulting mesh in the hierarchy and export that as an STL.