How do you name the process of collapse/expand in one word, or fold/unfold [closed]

How would you call the process of expanding/collapsing in one word?

I need to name a Method (in programming) which will make a group collapse or expand based on it's current state (collapsed or expanded).


I would go for toggle(), or better still toggleState().