The lawyer best known for challenging the worker-classification practices of gig-economy companies was pondering her legal options Wednesday.

California voters on Tuesday approved Proposition 22, an initiative freeing app-based ride-hailing and delivery companies from state law requiring them to classify their drivers as employees. The measure’s decisive victory clouded the future of an unknown number of pending worker-classification lawsuits, including those brought by Boston plaintiffs attorney Shannon Liss-Riordan.