toggleState method

dynamic toggleState(
  1. UICellState? state
)

Implementation

toggleState(UICellState? state) {
  if (this.state == state) return;
  this.state = state;
}