My husband flatlined for 30 min from a sudden cardiac arrest at the gym. Defibrillated 3 times + 18 min of CPR. As a result, he has an anoxic brain injury that has changed both of our lives. If you’re going to play around with flatlining, I don’t recommend exceeding 4 min.