togglePulsing method

void togglePulsing()

Toggles the pulsing animation.

Implementation

void togglePulsing() {
  value = !value;
}