rotate method

dynamic rotate()

Implementation

rotate() {
  this.isRotated = !this.isRotated;
}