Woman who flatlined during exercise class says an AED saved her life