There's no mention that a lawyer didn't. And it's reasonable to assume that either a lawyer at her employer or at Xora gave assurances it was legal.
And of course the complaint alleges it's illegal. A complaint has to do that.
But, when you read the complaint, there are some ridiculous things alleged. For instance, one of the things she's suing over is that, in addition to firing her, they contacted her other employer. Well, if you accept an all-call position from one employer while working for another one, that seems to be a fair thing to point out to the one who was getting screwed over. Petty, but fair.
She's asking for five+ years of wages as actual damages, plus non-economic damages. That seems like a lot to me over a few months in the job.
Look, I'm all for legislation that gives more rights to employees. I just didn't see anything that implied that any specific existing law was being violated.