I don't see the threat of tasering in your imagined dialog.
She was only asked to get out of the vehicle because she was self-admittedly "agitated" and began increasingly berating the officer in a way that was keeping him from finishing writing the citation.
So again, if an officer asks you to get out a vehicle, comply and ask if you're being detained. Don't grab your phone, don't tell the officer he doesn't have a reason to ask you to get out of the vehicle, after just admitting that you're agitated.