toggleIsSelected method

void toggleIsSelected()

Implementation

void toggleIsSelected() {
  this.isSelected = !this.isSelected;
}