changeState method

void changeState()

Implementation

void changeState() {
  isExpanded = !isExpanded;
}