They are connected this way... however, the dimming curve is of course logarithmic and not linear as commonly known from halogen or regular incandescent lamps...
Although the driver compensates for this somewhat, it is still relatively far off. But there is no flickering nor any of the usual disturbances that occur when trying to dim LED lamps with a phase-cut or leading-edge dimmer.